0s autopkgtest [08:30:04]: starting date and time: 2024-11-13 08:30:04+0000 0s autopkgtest [08:30:04]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [08:30:04]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1w_wygjd/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@lcy02-39.secgroup --name adt-plucky-amd64-glib2.0-20241113-083004-juju-7f2275-prod-proposed-migration-environment-15-d43a428a-a486-4e41-91c5-64628696cf07 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 64s autopkgtest [08:31:08]: testbed dpkg architecture: amd64 64s autopkgtest [08:31:08]: testbed apt version: 2.9.8 64s autopkgtest [08:31:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 65s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 65s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 65s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 65s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 65s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 65s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 65s Fetched 2173 kB in 0s (6970 kB/s) 65s Reading package lists... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Calculating upgrade... 68s The following NEW packages will be installed: 68s python3.13-gdbm 68s The following packages will be upgraded: 68s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 68s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 253 kB of archives. 68s After this operation, 147 kB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 68s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 68s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 68s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 68s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 68s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 68s Fetched 253 kB in 0s (6764 kB/s) 68s (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 ... 75541 files and directories currently installed.) 68s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 68s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 68s Setting up python3-minimal (3.12.7-1) ... 68s (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 ... 75541 files and directories currently installed.) 68s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 68s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 68s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 68s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 68s Selecting previously unselected package python3.13-gdbm. 68s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 68s Unpacking python3.13-gdbm (3.13.0-2) ... 69s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 69s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 69s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 69s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 69s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 69s Setting up python3.13-gdbm (3.13.0-2) ... 69s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 69s Setting up python3 (3.12.7-1) ... 69s Setting up python3-gdbm:amd64 (3.12.7-1) ... 69s Processing triggers for man-db (2.12.1-3) ... 69s Processing triggers for libc-bin (2.40-1ubuntu3) ... 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 70s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 70s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 70s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 70s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 72s Reading package lists... 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Calculating upgrade... 72s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s Reading package lists... 73s Building dependency tree... 73s Reading state information... 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s autopkgtest [08:31:18]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 74s autopkgtest [08:31:18]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 78s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (dsc) [4656 B] 78s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [263 kB] 78s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [5554 kB] 78s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (diff) [132 kB] 78s gpgv: Signature made Tue Sep 24 13:26:08 2024 UTC 78s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 78s gpgv: Can't check signature: No public key 78s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.1-0ubuntu1.dsc: no acceptable signature found 79s autopkgtest [08:31:23]: testing package glib2.0 version 2.82.1-0ubuntu1 79s autopkgtest [08:31:23]: build not needed 79s autopkgtest [08:31:23]: test build: preparing testbed 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 83s Starting pkgProblemResolver with broken count: 0 83s Starting 2 pkgProblemResolver with broken count: 0 83s Done 83s The following additional packages will be installed: 83s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 83s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 83s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 83s libffi-dev libgcc-14-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 83s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 83s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 83s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 83s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 83s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 83s Suggested packages: 83s cpp-doc gcc-14-locales cpp-14-doc g++-multilib g++-14-multilib gcc-14-doc 83s gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc 83s gcc-14-multilib gdb-x86-64-linux-gnu gir1.2-glib-2.0-dev libglib2.0-doc 83s libgdk-pixbuf2.0-bin libxml2-utils libstdc++-14-doc 83s The following NEW packages will be installed: 83s autopkgtest-satdep build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu 83s cpp-x86-64-linux-gnu g++ g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu 83s gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 83s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgirepository-2.0-0 83s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 83s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 83s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev 83s libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 83s pkgconf pkgconf-bin python3-packaging uuid-dev zlib1g-dev 83s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 83s Need to get 70.8 MB/70.8 MB of archives. 83s After this operation, 245 MB of additional disk space will be used. 83s Get:1 /tmp/autopkgtest.L0Waye/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [720 B] 84s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 84s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 84s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 84s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 84s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 84s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 84s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 84s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 84s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 84s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 84s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 84s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 84s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 84s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 84s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 84s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 84s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 84s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 84s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 84s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 84s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 84s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 84s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 84s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 84s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 84s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 84s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.1-0ubuntu1 [74.2 kB] 84s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.1-0ubuntu1 [98.4 kB] 84s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 84s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 84s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.1-0ubuntu1 [139 kB] 84s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu1 [52.7 kB] 84s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu1 [225 kB] 84s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 84s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 84s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 84s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 84s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 84s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.5-2ubuntu5 [164 kB] 84s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu1 [33.0 kB] 84s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.0-2 [52.1 kB] 84s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 84s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 84s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 84s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 84s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.82.1-0ubuntu1 [1869 kB] 85s Fetched 70.8 MB in 1s (96.4 MB/s) 85s Selecting previously unselected package libisl23:amd64. 85s (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 ... 75548 files and directories currently installed.) 85s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 85s Unpacking libisl23:amd64 (0.27-1) ... 85s Selecting previously unselected package libmpc3:amd64. 85s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 85s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 85s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 85s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package cpp-14. 85s Preparing to unpack .../03-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package cpp-x86-64-linux-gnu. 85s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 85s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 85s Selecting previously unselected package cpp. 85s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 85s Unpacking cpp (4:14.1.0-2ubuntu1) ... 85s Selecting previously unselected package libcc1-0:amd64. 85s Preparing to unpack .../06-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libgomp1:amd64. 85s Preparing to unpack .../07-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libitm1:amd64. 85s Preparing to unpack .../08-libitm1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libasan8:amd64. 85s Preparing to unpack .../09-libasan8_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package liblsan0:amd64. 85s Preparing to unpack .../10-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libtsan2:amd64. 85s Preparing to unpack .../11-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libubsan1:amd64. 85s Preparing to unpack .../12-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libhwasan0:amd64. 85s Preparing to unpack .../13-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libquadmath0:amd64. 85s Preparing to unpack .../14-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libgcc-14-dev:amd64. 85s Preparing to unpack .../15-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 85s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package gcc-14. 86s Preparing to unpack .../17-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package gcc-x86-64-linux-gnu. 86s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package gcc. 86s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking gcc (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package libstdc++-14-dev:amd64. 86s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-14-x86-64-linux-gnu. 86s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-14. 86s Preparing to unpack .../22-g++-14_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking g++-14 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-x86-64-linux-gnu. 86s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package g++. 86s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking g++ (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package build-essential. 86s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 86s Unpacking build-essential (12.10ubuntu1) ... 86s Selecting previously unselected package libgirepository-2.0-0:amd64. 86s Preparing to unpack .../26-libgirepository-2.0-0_2.82.1-0ubuntu1_amd64.deb ... 86s Unpacking libgirepository-2.0-0:amd64 (2.82.1-0ubuntu1) ... 86s Selecting previously unselected package libglib2.0-bin. 86s Preparing to unpack .../27-libglib2.0-bin_2.82.1-0ubuntu1_amd64.deb ... 86s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 87s Selecting previously unselected package libffi-dev:amd64. 87s Preparing to unpack .../28-libffi-dev_3.4.6-1build1_amd64.deb ... 87s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 87s Selecting previously unselected package python3-packaging. 87s Preparing to unpack .../29-python3-packaging_24.1-1_all.deb ... 87s Unpacking python3-packaging (24.1-1) ... 87s Selecting previously unselected package libglib2.0-dev-bin. 87s Preparing to unpack .../30-libglib2.0-dev-bin_2.82.1-0ubuntu1_amd64.deb ... 87s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 87s Selecting previously unselected package uuid-dev:amd64. 87s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu1_amd64.deb ... 87s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu1) ... 87s Selecting previously unselected package libblkid-dev:amd64. 87s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu1_amd64.deb ... 87s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 87s Selecting previously unselected package libsepol-dev:amd64. 87s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 87s Unpacking libsepol-dev:amd64 (3.7-1) ... 87s Selecting previously unselected package libpcre2-16-0:amd64. 87s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 87s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 87s Selecting previously unselected package libpcre2-32-0:amd64. 87s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 87s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 87s Selecting previously unselected package libpcre2-posix3:amd64. 87s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 87s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 87s Selecting previously unselected package libpcre2-dev:amd64. 87s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 87s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 87s Selecting previously unselected package libselinux1-dev:amd64. 87s Preparing to unpack .../38-libselinux1-dev_3.5-2ubuntu5_amd64.deb ... 87s Unpacking libselinux1-dev:amd64 (3.5-2ubuntu5) ... 87s Selecting previously unselected package libmount-dev:amd64. 87s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu1_amd64.deb ... 87s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu1) ... 87s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 87s Preparing to unpack .../40-libsysprof-capture-4-dev_47.0-2_amd64.deb ... 87s Unpacking libsysprof-capture-4-dev:amd64 (47.0-2) ... 87s Selecting previously unselected package libpkgconf3:amd64. 87s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 87s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 87s Selecting previously unselected package pkgconf-bin. 87s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 87s Unpacking pkgconf-bin (1.8.1-4) ... 87s Selecting previously unselected package pkgconf:amd64. 87s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 87s Unpacking pkgconf:amd64 (1.8.1-4) ... 87s Selecting previously unselected package zlib1g-dev:amd64. 87s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 87s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 87s Selecting previously unselected package libglib2.0-dev:amd64. 87s Preparing to unpack .../45-libglib2.0-dev_2.82.1-0ubuntu1_amd64.deb ... 87s Unpacking libglib2.0-dev:amd64 (2.82.1-0ubuntu1) ... 87s Selecting previously unselected package autopkgtest-satdep. 87s Preparing to unpack .../46-1-autopkgtest-satdep.deb ... 87s Unpacking autopkgtest-satdep (0) ... 87s Setting up libgirepository-2.0-0:amd64 (2.82.1-0ubuntu1) ... 87s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 87s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 87s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 87s Setting up libsysprof-capture-4-dev:amd64 (47.0-2) ... 87s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 87s Setting up python3-packaging (24.1-1) ... 87s Setting up libpkgconf3:amd64 (1.8.1-4) ... 87s Setting up uuid-dev:amd64 (2.40.2-1ubuntu1) ... 87s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libmpc3:amd64 (1.3.1-1build2) ... 87s Setting up libsepol-dev:amd64 (3.7-1) ... 87s Setting up pkgconf-bin (1.8.1-4) ... 87s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 87s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 87s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 87s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libisl23:amd64 (0.27-1) ... 87s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 88s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 88s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 88s Setting up libselinux1-dev:amd64 (3.5-2ubuntu5) ... 88s Setting up pkgconf:amd64 (1.8.1-4) ... 88s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 88s Setting up cpp-14 (14.2.0-8ubuntu1) ... 88s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 88s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 88s Setting up libmount-dev:amd64 (2.40.2-1ubuntu1) ... 88s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 88s Setting up libglib2.0-dev:amd64 (2.82.1-0ubuntu1) ... 88s Setting up cpp (4:14.1.0-2ubuntu1) ... 88s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 88s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 88s Setting up gcc-14 (14.2.0-8ubuntu1) ... 88s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 88s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 88s Setting up g++-14 (14.2.0-8ubuntu1) ... 88s Setting up gcc (4:14.1.0-2ubuntu1) ... 88s Setting up g++ (4:14.1.0-2ubuntu1) ... 88s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 88s Setting up build-essential (12.10ubuntu1) ... 88s Processing triggers for libc-bin (2.40-1ubuntu3) ... 88s Processing triggers for man-db (2.12.1-3) ... 88s Processing triggers for libglib2.0-0t64:amd64 (2.82.1-0ubuntu1) ... 88s No schema files found: doing nothing. 88s Processing triggers for install-info (7.1.1-1) ... 88s Setting up autopkgtest-satdep (0) ... 90s (Reading database ... 77796 files and directories currently installed.) 90s Removing autopkgtest-satdep (0) ... 90s autopkgtest [08:31:34]: test build: [----------------------- 90s + mode=dynamic 90s + getopt -o --long static -n debian/tests/build -- 90s + getopt_temp= -- 90s + eval set -- -- 90s + set -- -- 90s + true 90s + shift 90s + break 90s + mktemp -d 90s + WORKDIR=/tmp/tmp.Zu1GaQTjIH 90s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 90s + cd /tmp/tmp.Zu1GaQTjIH 90s + [ -n ] 90s + CROSS_COMPILE= 90s + cat 90s + cat 90s + cat 90s + cat 90s + cat 90s + cat 90s + cflags= 90s + pcflags= 90s + packages=glib-2.0 90s + pkg-config --cflags --libs glib-2.0 90s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 91s + echo build (glib, dynamic): OK 91s + [ -x glib-dynamic ] 91s + foo=bar ./glib-dynamic 91s build (glib, dynamic): OK 91s + echo run (glib, dynamic): OK 91s + cflags=run (glib, dynamic): OK 91s 91s + pcflags= 91s + packages=gobject-2.0 91s + pkg-config --cflags --libs gobject-2.0 91s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 91s + echo build (gobject, dynamic): OK 91s + [ -x gobject-dynamic ] 91s + foo=bar ./gobject-dynamic 91s build (gobject, dynamic): OK 91s + echo run (gobject, dynamic): OK 91s + run (gobject, dynamic): OK 91s cflags= 91s + pcflags= 91s + packages=gio-2.0 91s + pkg-config --cflags --libs gio-2.0 91s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 91s + echo build (gio, dynamic): OK 91s + [ -x gio-dynamic ] 91s + foo=bar ./gio-dynamic 91s build (gio, dynamic): OK 91s + echo run (gio, dynamic): OK 91s run (gio, dynamic): OK 91s + cflags= 91s + pcflags= 91s + packages=gio-unix-2.0 91s + pkg-config --cflags --libs gio-unix-2.0 91s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 91s + echo build (gio-unix, dynamic): OK 91s + [ -x gio-unix-dynamic ] 91s + foo=bar ./gio-unix-dynamic 91s build (gio-unix, dynamic): OK 91s + echo run (gio-unix, dynamic): OK 91s + cflags= 91s + pcflags= 91s + packages=gmodule-2.0 91s + pkg-config --cflags --libs gmodule-2.0 91s run (gio-unix, dynamic): OK 91s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 91s + echo build (gmodule, dynamic): OK 91s + [ -x gmodule-dynamic ] 91s + foo=bar ./gmodule-dynamic 91s build (gmodule, dynamic): OK 91s + echo run (gmodule, dynamic): OK 91s + cflags= 91s + pcflags= 91s + packages=gthread-2.0 91s run (gmodule, dynamic): OK 91s + pkg-config --cflags --libs gthread-2.0 91s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 91s + echo build (gthread, dynamic): OK 91s + [ -x gthread-dynamic ] 91s + foo=bar ./gthread-dynamic 91s build (gthread, dynamic): OK 91s + echo run (gthread, dynamic): OK 91s run (gthread, dynamic): OK 91s + rm -rf /tmp/tmp.Zu1GaQTjIH 92s autopkgtest [08:31:36]: test build: -----------------------] 92s build PASS (superficial) 92s autopkgtest [08:31:36]: test build: - - - - - - - - - - results - - - - - - - - - - 92s autopkgtest [08:31:36]: test build-static: preparing testbed 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s Starting pkgProblemResolver with broken count: 0 96s Starting 2 pkgProblemResolver with broken count: 0 96s Done 96s The following NEW packages will be installed: 96s autopkgtest-satdep 96s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 96s Need to get 0 B/720 B of archives. 96s After this operation, 0 B of additional disk space will be used. 96s Get:1 /tmp/autopkgtest.L0Waye/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [720 B] 97s Selecting previously unselected package autopkgtest-satdep. 97s (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 ... 77796 files and directories currently installed.) 97s Preparing to unpack .../2-autopkgtest-satdep.deb ... 97s Unpacking autopkgtest-satdep (0) ... 97s Setting up autopkgtest-satdep (0) ... 98s (Reading database ... 77796 files and directories currently installed.) 98s Removing autopkgtest-satdep (0) ... 98s autopkgtest [08:31:42]: test build-static: [----------------------- 98s + mode=dynamic 98s + getopt -o --long static -n debian/tests/build -- --static 98s + getopt_temp= --static -- 98s + eval set -- --static -- 98s + set -- --static -- 98s + true 98s + mode=static 98s + shift 98s + continue 98s + true 98s + shift 98s + break 98s + mktemp -d 98s + WORKDIR=/tmp/tmp.nGYJNI3RQV 98s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 98s + cd /tmp/tmp.nGYJNI3RQV 98s + [ -n ] 98s + CROSS_COMPILE= 98s + cat 98s + cat 98s + cat 98s + cat 98s + cat 98s + cat 98s + cflags= 98s + pcflags= 98s + packages=glib-2.0 98s + cflags=-static 98s + pcflags=--static 98s + pkg-config --static --cflags --libs glib-2.0 98s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 99s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 99s (.text+0xeb): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x2be): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x134): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s build (glib, static): OK 99s + echo build (glib, static): OK 99s + [ -x glib-static ] 99s + foo=bar ./glib-static 99s + echo run (glib, static): OKrun (glib, static): OK 99s 99s + cflags= 99s + pcflags= 99s + packages=gobject-2.0 99s + cflags=-static 99s + pcflags=--static 99s + pkg-config --static --cflags --libs gobject-2.0 99s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 99s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 99s (.text+0xeb): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x2be): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x134): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s build (gobject, static): OK 99s + echo build (gobject, static): OK 99s + [ -x gobject-static ] 99s + foo=bar ./gobject-static 99s + echo run (gobject, static): OK 99s + run (gobject, static): OK 99s cflags= 99s + pcflags= 99s + packages=gio-2.0 99s + cflags=-static 99s + pcflags=--static 99s + continue 99s + cflags= 99s + pcflags= 99s + packages=gio-unix-2.0 99s + cflags=-static 99s + pcflags=--static 99s + continue 99s + cflags= 99s + pcflags= 99s + packages=gmodule-2.0 99s + cflags=-static 99s + pcflags=--static 99s + pkg-config --static --cflags --libs gmodule-2.0 99s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 99s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 99s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 99s (.text+0xeb): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x2be): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x134): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s build (gmodule, static): OK 99s + echo build (gmodule, static): OK 99s + [ -x gmodule-static ] 99s + foo=bar ./gmodule-static 99s run (gmodule, static): OK 99s + echo run (gmodule, static): OK 99s + cflags= 99s + pcflags= 99s + packages=gthread-2.0 99s + cflags=-static 99s + pcflags=--static 99s + pkg-config --static --cflags --libs gthread-2.0 99s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 99s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 99s (.text+0xeb): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x2be): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s /usr/bin/ld: (.text+0x134): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 99s build (gthread, static): OK 99s + echo build (gthread, static): OK 99s + [ -x gthread-static ] 99s + foo=bar ./gthread-static 99s + echo run (gthread, static): OK 99s + rm -rf /tmp/tmp.nGYJNI3RQV 99s run (gthread, static): OK 100s autopkgtest [08:31:44]: test build-static: -----------------------] 100s autopkgtest [08:31:44]: test build-static: - - - - - - - - - - results - - - - - - - - - - 100s build-static PASS (superficial) 100s autopkgtest [08:31:44]: test installed-tests: preparing testbed 172s autopkgtest [08:32:56]: testbed dpkg architecture: amd64 172s autopkgtest [08:32:56]: testbed apt version: 2.9.8 172s autopkgtest [08:32:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 172s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 172s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 172s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 172s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 172s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 172s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 172s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 172s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 172s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 172s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 172s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 172s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 173s Fetched 2173 kB in 0s (7371 kB/s) 173s Reading package lists... 174s Reading package lists... 174s Building dependency tree... 174s Reading state information... 175s Calculating upgrade... 175s The following NEW packages will be installed: 175s python3.13-gdbm 175s The following packages will be upgraded: 175s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 175s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 175s Need to get 253 kB of archives. 175s After this operation, 147 kB of additional disk space will be used. 175s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 175s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 175s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 175s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 175s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 175s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 176s Fetched 253 kB in 0s (8727 kB/s) 176s (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 ... 75541 files and directories currently installed.) 176s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 176s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 176s Setting up python3-minimal (3.12.7-1) ... 176s (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 ... 75541 files and directories currently installed.) 176s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 176s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 176s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 176s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 176s Selecting previously unselected package python3.13-gdbm. 176s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 176s Unpacking python3.13-gdbm (3.13.0-2) ... 176s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 176s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 176s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 176s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 176s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 176s Setting up python3.13-gdbm (3.13.0-2) ... 176s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 176s Setting up python3 (3.12.7-1) ... 176s Setting up python3-gdbm:amd64 (3.12.7-1) ... 176s Processing triggers for man-db (2.12.1-3) ... 177s Processing triggers for libc-bin (2.40-1ubuntu3) ... 177s Reading package lists... 177s Building dependency tree... 177s Reading state information... 178s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 178s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 178s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 178s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 178s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 179s Reading package lists... 179s Reading package lists... 180s Building dependency tree... 180s Reading state information... 180s Calculating upgrade... 180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Reading package lists... 183s Building dependency tree... 183s Reading state information... 184s Starting pkgProblemResolver with broken count: 0 184s Starting 2 pkgProblemResolver with broken count: 0 184s Done 184s The following additional packages will be installed: 184s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 184s libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 libgirepository-2.0-0 184s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 184s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpciaccess0 184s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 184s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 184s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 184s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 184s mesa-libgallium python3-dbusmock python3-packaging x11-common x11-xkb-utils 184s xserver-common xvfb 184s Suggested packages: 184s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 184s Recommended packages: 184s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 184s xfonts-base 184s The following NEW packages will be installed: 184s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 184s libdrm-amdgpu1 libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 184s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 184s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 184s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 184s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 184s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 184s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 184s libxxf86vm1 mesa-libgallium python3-dbusmock python3-packaging x11-common 184s x11-xkb-utils xserver-common xvfb 184s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 184s Need to get 15.9 MB/15.9 MB of archives. 184s After this operation, 67.7 MB of additional disk space will be used. 184s Get:1 /tmp/autopkgtest.L0Waye/3-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [776 B] 184s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.14.10-4ubuntu5 [23.4 kB] 184s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.27-2build1 [53.8 kB] 184s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 184s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-amdgpu1 amd64 2.4.123-1 [21.7 kB] 184s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 184s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 184s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-radeon1 amd64 2.4.123-1 [25.3 kB] 184s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 184s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.0-1 [35.1 kB] 184s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 184s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libglapi-mesa amd64 24.2.3-1ubuntu1 [42.4 kB] 184s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 184s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri2-0 amd64 1.17.0-2 [7222 B] 184s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 184s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 184s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 184s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 184s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 184s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 24.2.3-1ubuntu1 [9904 kB] 185s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 24.2.3-1ubuntu1 [32.0 kB] 185s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.1-0ubuntu1 [74.2 kB] 185s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.3.296.0-1 [143 kB] 185s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 24.2.3-1ubuntu1 [34.4 kB] 185s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.1-0ubuntu1 [98.4 kB] 185s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 185s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.1-0ubuntu1 [139 kB] 185s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.32.2-1 [90.6 kB] 185s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.82.1-0ubuntu1 [2167 kB] 185s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 185s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 185s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 185s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 185s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 24.2.3-1ubuntu1 [153 kB] 185s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 185s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 185s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 185s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 185s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 185s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 185s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 185s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 185s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 185s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 185s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 185s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 185s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 185s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.14-1ubuntu1 [33.7 kB] 185s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 185s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 185s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 185s Get:52 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.14-1ubuntu1 [965 kB] 185s Fetched 15.9 MB in 0s (63.7 MB/s) 185s Selecting previously unselected package dbus-x11. 185s (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 ... 75548 files and directories currently installed.) 185s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_amd64.deb ... 185s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 185s Selecting previously unselected package desktop-file-utils. 185s Preparing to unpack .../01-desktop-file-utils_0.27-2build1_amd64.deb ... 185s Unpacking desktop-file-utils (0.27-2build1) ... 185s Selecting previously unselected package gnome-desktop-testing. 185s Preparing to unpack .../02-gnome-desktop-testing_2021.1-4_amd64.deb ... 185s Unpacking gnome-desktop-testing (2021.1-4) ... 185s Selecting previously unselected package libdrm-amdgpu1:amd64. 185s Preparing to unpack .../03-libdrm-amdgpu1_2.4.123-1_amd64.deb ... 185s Unpacking libdrm-amdgpu1:amd64 (2.4.123-1) ... 185s Selecting previously unselected package libpciaccess0:amd64. 185s Preparing to unpack .../04-libpciaccess0_0.17-3build1_amd64.deb ... 185s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 185s Selecting previously unselected package libdrm-intel1:amd64. 185s Preparing to unpack .../05-libdrm-intel1_2.4.123-1_amd64.deb ... 185s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 185s Selecting previously unselected package libdrm-radeon1:amd64. 185s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_amd64.deb ... 185s Unpacking libdrm-radeon1:amd64 (2.4.123-1) ... 185s Selecting previously unselected package libfontenc1:amd64. 185s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 185s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 185s Selecting previously unselected package libwayland-server0:amd64. 185s Preparing to unpack .../08-libwayland-server0_1.23.0-1_amd64.deb ... 185s Unpacking libwayland-server0:amd64 (1.23.0-1) ... 185s Selecting previously unselected package libxcb-randr0:amd64. 185s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_amd64.deb ... 185s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 185s Selecting previously unselected package libglapi-mesa:amd64. 185s Preparing to unpack .../10-libglapi-mesa_24.2.3-1ubuntu1_amd64.deb ... 185s Unpacking libglapi-mesa:amd64 (24.2.3-1ubuntu1) ... 185s Selecting previously unselected package libx11-xcb1:amd64. 185s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 185s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 185s Selecting previously unselected package libxcb-dri2-0:amd64. 185s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_amd64.deb ... 185s Unpacking libxcb-dri2-0:amd64 (1.17.0-2) ... 185s Selecting previously unselected package libxcb-dri3-0:amd64. 185s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_amd64.deb ... 185s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 185s Selecting previously unselected package libxcb-present0:amd64. 185s Preparing to unpack .../14-libxcb-present0_1.17.0-2_amd64.deb ... 185s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 185s Selecting previously unselected package libxcb-sync1:amd64. 185s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_amd64.deb ... 185s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 186s Selecting previously unselected package libxcb-xfixes0:amd64. 186s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_amd64.deb ... 186s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 186s Selecting previously unselected package libxshmfence1:amd64. 186s Preparing to unpack .../17-libxshmfence1_1.3-1build5_amd64.deb ... 186s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 186s Selecting previously unselected package mesa-libgallium:amd64. 186s Preparing to unpack .../18-mesa-libgallium_24.2.3-1ubuntu1_amd64.deb ... 186s Unpacking mesa-libgallium:amd64 (24.2.3-1ubuntu1) ... 186s Selecting previously unselected package libgbm1:amd64. 186s Preparing to unpack .../19-libgbm1_24.2.3-1ubuntu1_amd64.deb ... 186s Unpacking libgbm1:amd64 (24.2.3-1ubuntu1) ... 186s Selecting previously unselected package libgirepository-2.0-0:amd64. 186s Preparing to unpack .../20-libgirepository-2.0-0_2.82.1-0ubuntu1_amd64.deb ... 186s Unpacking libgirepository-2.0-0:amd64 (2.82.1-0ubuntu1) ... 186s Selecting previously unselected package libvulkan1:amd64. 186s Preparing to unpack .../21-libvulkan1_1.3.296.0-1_amd64.deb ... 186s Unpacking libvulkan1:amd64 (1.3.296.0-1) ... 186s Selecting previously unselected package libgl1-mesa-dri:amd64. 186s Preparing to unpack .../22-libgl1-mesa-dri_24.2.3-1ubuntu1_amd64.deb ... 186s Unpacking libgl1-mesa-dri:amd64 (24.2.3-1ubuntu1) ... 186s Selecting previously unselected package libglib2.0-bin. 186s Preparing to unpack .../23-libglib2.0-bin_2.82.1-0ubuntu1_amd64.deb ... 186s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 186s Selecting previously unselected package python3-packaging. 186s Preparing to unpack .../24-python3-packaging_24.1-1_all.deb ... 186s Unpacking python3-packaging (24.1-1) ... 186s Selecting previously unselected package libglib2.0-dev-bin. 186s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.1-0ubuntu1_amd64.deb ... 186s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 186s Selecting previously unselected package python3-dbusmock. 186s Preparing to unpack .../26-python3-dbusmock_0.32.2-1_all.deb ... 186s Unpacking python3-dbusmock (0.32.2-1) ... 186s Selecting previously unselected package libglib2.0-tests. 186s Preparing to unpack .../27-libglib2.0-tests_2.82.1-0ubuntu1_amd64.deb ... 186s Unpacking libglib2.0-tests (2.82.1-0ubuntu1) ... 186s Selecting previously unselected package libxcb-glx0:amd64. 186s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_amd64.deb ... 186s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 186s Selecting previously unselected package libxcb-shm0:amd64. 186s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_amd64.deb ... 186s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 186s Selecting previously unselected package libxfixes3:amd64. 186s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 186s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 186s Selecting previously unselected package libxxf86vm1:amd64. 186s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 186s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 186s Selecting previously unselected package libglx-mesa0:amd64. 186s Preparing to unpack .../32-libglx-mesa0_24.2.3-1ubuntu1_amd64.deb ... 186s Unpacking libglx-mesa0:amd64 (24.2.3-1ubuntu1) ... 186s Selecting previously unselected package x11-common. 186s Preparing to unpack .../33-x11-common_1%3a7.7+23ubuntu3_all.deb ... 186s Unpacking x11-common (1:7.7+23ubuntu3) ... 186s Selecting previously unselected package libice6:amd64. 186s Preparing to unpack .../34-libice6_2%3a1.1.1-1_amd64.deb ... 186s Unpacking libice6:amd64 (2:1.1.1-1) ... 187s Selecting previously unselected package libpixman-1-0:amd64. 187s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_amd64.deb ... 187s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 187s Selecting previously unselected package libsm6:amd64. 187s Preparing to unpack .../36-libsm6_2%3a1.2.4-1_amd64.deb ... 187s Unpacking libsm6:amd64 (2:1.2.4-1) ... 187s Selecting previously unselected package libxt6t64:amd64. 187s Preparing to unpack .../37-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 187s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 187s Selecting previously unselected package libxmu6:amd64. 187s Preparing to unpack .../38-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 187s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 187s Selecting previously unselected package libxpm4:amd64. 187s Preparing to unpack .../39-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 187s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 187s Selecting previously unselected package libxaw7:amd64. 187s Preparing to unpack .../40-libxaw7_2%3a1.0.16-1_amd64.deb ... 187s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 187s Selecting previously unselected package libxfont2:amd64. 187s Preparing to unpack .../41-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 187s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 187s Selecting previously unselected package libxkbfile1:amd64. 187s Preparing to unpack .../42-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 187s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 187s Selecting previously unselected package libxrender1:amd64. 187s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 187s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 187s Selecting previously unselected package libxrandr2:amd64. 187s Preparing to unpack .../44-libxrandr2_2%3a1.5.4-1_amd64.deb ... 187s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 187s Selecting previously unselected package x11-xkb-utils. 187s Preparing to unpack .../45-x11-xkb-utils_7.7+9_amd64.deb ... 187s Unpacking x11-xkb-utils (7.7+9) ... 187s Selecting previously unselected package xserver-common. 187s Preparing to unpack .../46-xserver-common_2%3a21.1.14-1ubuntu1_all.deb ... 187s Unpacking xserver-common (2:21.1.14-1ubuntu1) ... 187s Selecting previously unselected package libglvnd0:amd64. 187s Preparing to unpack .../47-libglvnd0_1.7.0-1build1_amd64.deb ... 187s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 187s Selecting previously unselected package libglx0:amd64. 187s Preparing to unpack .../48-libglx0_1.7.0-1build1_amd64.deb ... 187s Unpacking libglx0:amd64 (1.7.0-1build1) ... 187s Selecting previously unselected package libgl1:amd64. 187s Preparing to unpack .../49-libgl1_1.7.0-1build1_amd64.deb ... 187s Unpacking libgl1:amd64 (1.7.0-1build1) ... 187s Selecting previously unselected package xvfb. 187s Preparing to unpack .../50-xvfb_2%3a21.1.14-1ubuntu1_amd64.deb ... 187s Unpacking xvfb (2:21.1.14-1ubuntu1) ... 187s Selecting previously unselected package autopkgtest-satdep. 187s Preparing to unpack .../51-3-autopkgtest-satdep.deb ... 187s Unpacking autopkgtest-satdep (0) ... 187s Setting up gnome-desktop-testing (2021.1-4) ... 187s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 187s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 187s Setting up libwayland-server0:amd64 (1.23.0-1) ... 187s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 187s Setting up libpciaccess0:amd64 (0.17-3build1) ... 187s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 187s Setting up desktop-file-utils (0.27-2build1) ... 187s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 187s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 187s Setting up libgirepository-2.0-0:amd64 (2.82.1-0ubuntu1) ... 187s Setting up libdrm-radeon1:amd64 (2.4.123-1) ... 187s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 187s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 187s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 187s Setting up x11-common (1:7.7+23ubuntu3) ... 188s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 188s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 188s Setting up python3-dbusmock (0.32.2-1) ... 188s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 188s Setting up libxcb-present0:amd64 (1.17.0-2) ... 188s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 188s Setting up python3-packaging (24.1-1) ... 188s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 188s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 188s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 188s Setting up libglapi-mesa:amd64 (24.2.3-1ubuntu1) ... 188s Setting up libvulkan1:amd64 (1.3.296.0-1) ... 188s Setting up libxcb-dri2-0:amd64 (1.17.0-2) ... 188s Setting up libxshmfence1:amd64 (1.3-1build5) ... 188s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 188s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 188s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 188s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 188s Setting up libdrm-amdgpu1:amd64 (2.4.123-1) ... 188s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 188s Setting up libice6:amd64 (2:1.1.1-1) ... 188s Setting up mesa-libgallium:amd64 (24.2.3-1ubuntu1) ... 188s Setting up libgbm1:amd64 (24.2.3-1ubuntu1) ... 188s Setting up libgl1-mesa-dri:amd64 (24.2.3-1ubuntu1) ... 188s Setting up libglib2.0-tests (2.82.1-0ubuntu1) ... 188s Setting up libsm6:amd64 (2:1.2.4-1) ... 188s Setting up libglx-mesa0:amd64 (24.2.3-1ubuntu1) ... 188s Setting up libglx0:amd64 (1.7.0-1build1) ... 188s Setting up libgl1:amd64 (1.7.0-1build1) ... 188s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 188s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 188s Setting up libxaw7:amd64 (2:1.0.16-1) ... 188s Setting up x11-xkb-utils (7.7+9) ... 188s Setting up xserver-common (2:21.1.14-1ubuntu1) ... 188s Setting up xvfb (2:21.1.14-1ubuntu1) ... 188s Setting up autopkgtest-satdep (0) ... 188s Processing triggers for man-db (2.12.1-3) ... 189s Processing triggers for libc-bin (2.40-1ubuntu3) ... 192s (Reading database ... 77014 files and directories currently installed.) 192s Removing autopkgtest-satdep (0) ... 195s autopkgtest [08:33:19]: test installed-tests: [----------------------- 195s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 195s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 195s group entry: ubuntu:x:1000: 195s Environment: 195s ADTTMP=/tmp/autopkgtest.L0Waye/autopkgtest_tmp 195s ADT_ARTIFACTS=/tmp/autopkgtest.L0Waye/installed-tests-artifacts 195s ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1 195s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.L0Waye/installed-tests-artifacts 195s AUTOPKGTEST_TESTBED_ARCH=amd64 195s AUTOPKGTEST_TEST_ARCH=amd64 195s AUTOPKGTEST_TMP=/tmp/autopkgtest.L0Waye/autopkgtest_tmp 195s DEBIAN_FRONTEND=noninteractive 195s DEB_BUILD_OPTIONS=parallel=2 195s GIO_USE_VFS=local 195s GIO_USE_VOLUME_MONITOR=unix 195s HOME=/home/ubuntu 195s LANG=C.UTF-8 195s LOGNAME=ubuntu 195s MAIL=/var/mail/ubuntu 195s OLDPWD=/home/ubuntu 195s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 195s PWD=/tmp/autopkgtest.L0Waye/build.PWO/src 195s SHELL=/bin/bash 195s SHLVL=1 195s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests 195s SUDO_GID=1000 195s SUDO_UID=1000 195s SUDO_USER=ubuntu 195s TERM=linux 195s USER=ubuntu 195s XDG_RUNTIME_DIR=/tmp/autopkgtest.L0Waye/autopkgtest_tmp 195s http_proxy=http://squid.internal:3128 195s https_proxy=http://squid.internal:3128 195s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 196s run-with-locales: de_DE=ISO-8859-1... 196s Character set: ISO-8859-1 196s Source file: de_DE 196s Output: /tmp/tmp.5jlANlNE92/de_DE 196s run-with-locales: de_DE.utf8... 196s Character set: UTF-8 196s Source file: de_DE 196s Output: /tmp/tmp.5jlANlNE92/de_DE.utf8 197s run-with-locales: de_DE@euro.utf8... 197s Character set: UTF-8 197s Source file: de_DE@euro 197s Output: /tmp/tmp.5jlANlNE92/de_DE@euro.utf8 199s run-with-locales: el_GR.utf8... 199s Character set: UTF-8 199s Source file: el_GR 199s Output: /tmp/tmp.5jlANlNE92/el_GR.utf8 200s run-with-locales: en_GB=ISO-8859-1... 200s Character set: ISO-8859-1 200s Source file: en_GB 200s Output: /tmp/tmp.5jlANlNE92/en_GB 200s run-with-locales: en_GB.utf8... 200s Character set: UTF-8 200s Source file: en_GB 200s Output: /tmp/tmp.5jlANlNE92/en_GB.utf8 202s run-with-locales: en_US=ISO-8859-1... 202s Character set: ISO-8859-1 202s Source file: en_US 202s Output: /tmp/tmp.5jlANlNE92/en_US 202s run-with-locales: en_US.utf8... 202s Character set: UTF-8 202s Source file: en_US 202s Output: /tmp/tmp.5jlANlNE92/en_US.utf8 203s run-with-locales: es_ES.utf8... 203s Character set: UTF-8 203s Source file: es_ES 203s Output: /tmp/tmp.5jlANlNE92/es_ES.utf8 205s run-with-locales: fa_IR=UTF-8... 205s Character set: UTF-8 205s Source file: fa_IR 205s Output: /tmp/tmp.5jlANlNE92/fa_IR 206s run-with-locales: fa_IR.utf8... 206s Character set: UTF-8 206s Source file: fa_IR 206s Output: /tmp/tmp.5jlANlNE92/fa_IR.utf8 207s run-with-locales: fr_FR.utf8... 207s Character set: UTF-8 207s Source file: fr_FR 207s Output: /tmp/tmp.5jlANlNE92/fr_FR.utf8 208s run-with-locales: hr_HR.utf8... 208s Character set: UTF-8 208s Source file: hr_HR 208s Output: /tmp/tmp.5jlANlNE92/hr_HR.utf8 210s run-with-locales: ja_JP.utf8... 210s Character set: UTF-8 210s Source file: ja_JP 210s Output: /tmp/tmp.5jlANlNE92/ja_JP.utf8 211s run-with-locales: ja_JP.EUC-JP... 211s Character set: EUC-JP 211s Source file: ja_JP 211s Output: /tmp/tmp.5jlANlNE92/ja_JP.eucjp 211s run-with-locales: lt_LT.utf8... 211s Character set: UTF-8 211s Source file: lt_LT 211s Output: /tmp/tmp.5jlANlNE92/lt_LT.utf8 212s run-with-locales: pl_PL=ISO-8859-2... 212s Character set: ISO-8859-2 212s Source file: pl_PL 212s Output: /tmp/tmp.5jlANlNE92/pl_PL 213s run-with-locales: pl_PL.ISO-8859-2... 213s Character set: ISO-8859-2 213s Source file: pl_PL 213s Output: /tmp/tmp.5jlANlNE92/pl_PL.iso88592 213s run-with-locales: pl_PL.utf8... 213s Character set: UTF-8 213s Source file: pl_PL 213s Output: /tmp/tmp.5jlANlNE92/pl_PL.utf8 215s run-with-locales: ru_RU=ISO-8859-5... 215s Character set: ISO-8859-5 215s Source file: ru_RU 215s Output: /tmp/tmp.5jlANlNE92/ru_RU 215s run-with-locales: ru_RU.utf8... 215s Character set: UTF-8 215s Source file: ru_RU 215s Output: /tmp/tmp.5jlANlNE92/ru_RU.utf8 216s run-with-locales: sr_RS=UTF-8... 216s Character set: UTF-8 216s Source file: sr_RS 216s Output: /tmp/tmp.5jlANlNE92/sr_RS 218s run-with-locales: sr_RS@latin=UTF-8... 218s Character set: UTF-8 218s Source file: sr_RS@latin 218s Output: /tmp/tmp.5jlANlNE92/sr_RS@latin 219s run-with-locales: sv_SE=ISO-8859-1... 219s Character set: ISO-8859-1 219s Source file: sv_SE 219s Output: /tmp/tmp.5jlANlNE92/sv_SE 219s run-with-locales: sv_SE.utf8... 219s Character set: UTF-8 219s Source file: sv_SE 219s Output: /tmp/tmp.5jlANlNE92/sv_SE.utf8 221s run-with-locales: tr_TR=ISO-8859-9... 221s Character set: ISO-8859-9 221s Source file: tr_TR 221s Output: /tmp/tmp.5jlANlNE92/tr_TR 221s run-with-locales: tr_TR.utf8... 221s Character set: UTF-8 221s Source file: tr_TR 221s Output: /tmp/tmp.5jlANlNE92/tr_TR.utf8 222s run-with-locales: tt_RU=UTF-8... 222s Character set: UTF-8 222s Source file: tt_RU 222s Output: /tmp/tmp.5jlANlNE92/tt_RU 224s run-with-locales: tt_RU.utf8... 224s Character set: UTF-8 224s Source file: tt_RU 224s Output: /tmp/tmp.5jlANlNE92/tt_RU.utf8 225s run-with-locales: tt_RU@iqtelif=UTF-8... 225s Character set: UTF-8 225s Source file: tt_RU@iqtelif 225s Output: /tmp/tmp.5jlANlNE92/tt_RU@iqtelif 227s /tmp/tmp.5jlANlNE92 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_NAME 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_PAPER 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_TIME 227s /tmp/tmp.5jlANlNE92/ja_JP.eucjp/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/ja_JP.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/ru_RU.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/pl_PL.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/ru_RU 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_NAME 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_PAPER 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_TIME 227s /tmp/tmp.5jlANlNE92/ru_RU/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/sv_SE.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/tt_RU.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/en_US.utf8 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/en_US.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/en_US 227s /tmp/tmp.5jlANlNE92/en_US/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_US/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_US/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/en_US/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/en_US/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/en_US/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/en_US/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/en_US/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/en_US/LC_NAME 227s /tmp/tmp.5jlANlNE92/en_US/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/en_US/LC_PAPER 227s /tmp/tmp.5jlANlNE92/en_US/LC_TIME 227s /tmp/tmp.5jlANlNE92/en_US/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/tr_TR.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/de_DE 227s /tmp/tmp.5jlANlNE92/de_DE/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/de_DE/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/de_DE/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/de_DE/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/de_DE/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/de_DE/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/de_DE/LC_NAME 227s /tmp/tmp.5jlANlNE92/de_DE/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/de_DE/LC_PAPER 227s /tmp/tmp.5jlANlNE92/de_DE/LC_TIME 227s /tmp/tmp.5jlANlNE92/de_DE/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/sr_RS@latin 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_NAME 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_PAPER 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_TIME 227s /tmp/tmp.5jlANlNE92/sr_RS@latin/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/tt_RU 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_NAME 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_PAPER 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_TIME 227s /tmp/tmp.5jlANlNE92/tt_RU/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/fa_IR 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_NAME 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_PAPER 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_TIME 227s /tmp/tmp.5jlANlNE92/fa_IR/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/en_GB 227s /tmp/tmp.5jlANlNE92/en_GB/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_GB/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/en_GB/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/en_GB/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/en_GB/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/en_GB/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/en_GB/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/en_GB/LC_NAME 227s /tmp/tmp.5jlANlNE92/en_GB/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/en_GB/LC_PAPER 227s /tmp/tmp.5jlANlNE92/en_GB/LC_TIME 227s /tmp/tmp.5jlANlNE92/en_GB/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/es_ES.utf8 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/es_ES.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/sr_RS 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_NAME 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_PAPER 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_TIME 227s /tmp/tmp.5jlANlNE92/sr_RS/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/fa_IR.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/hr_HR.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/pl_PL 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_NAME 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_PAPER 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_TIME 227s /tmp/tmp.5jlANlNE92/pl_PL/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/de_DE@euro.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/lt_LT.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_NAME 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_PAPER 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_TIME 227s /tmp/tmp.5jlANlNE92/tt_RU@iqtelif/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_NAME 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_PAPER 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_TIME 227s /tmp/tmp.5jlANlNE92/pl_PL.iso88592/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/el_GR.utf8 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/el_GR.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/tr_TR 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_NAME 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_PAPER 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_TIME 227s /tmp/tmp.5jlANlNE92/tr_TR/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/de_DE.utf8 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/de_DE.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/en_GB.utf8 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/en_GB.utf8/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/sv_SE 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_NAME 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_PAPER 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_TIME 227s /tmp/tmp.5jlANlNE92/sv_SE/LC_MONETARY 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_TELEPHONE 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_NUMERIC 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_CTYPE 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_IDENTIFICATION 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_MEASUREMENT 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_ADDRESS 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_NAME 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_COLLATE 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_PAPER 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_TIME 227s /tmp/tmp.5jlANlNE92/fr_FR.utf8/LC_MONETARY 227s 1..319 227s # Running test: glib/portal-support-flatpak-gsettings-only.test 227s TAP version 14 227s # random seed: R02S3a6cd2b2d6b7084228fecdbd66a8b216 227s 1..1 227s # Start of portal-support tests 227s # Start of flatpak tests 227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/home 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/cache 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/system-config2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/config 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/system-data2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/data 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/state 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/runtime 227s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_YS3BX2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 227s ok 1 /portal-support/flatpak/gsettings 227s # End of flatpak tests 227s # End of portal-support tests 227s ok - glib/portal-support-flatpak-gsettings-only.test 227s # Running test: glib/null-settings-backend.test 227s TAP version 14 227s # random seed: R02Sfdf1acc843a5e587ab01c374fec54655 227s 1..1 227s # Start of null-settings-backend tests 227s ok 1 /null-settings-backend/extension-point-registered 227s # End of null-settings-backend tests 227s ok - glib/null-settings-backend.test 227s # Running test: glib/dynamictests.test 227s TAP version 14 227s # random seed: R02Sce5be16184cc467d1e52cbbd65858ffd 227s 1..2 227s # Start of GObject tests 227s ok 1 /GObject/threaded-dynamic-ref-unref-init 227s ok 2 /GObject/dynamic-interface-properties 227s # End of GObject tests 227s ok - glib/dynamictests.test 227s # Running test: glib/init.test 227s TAP version 14 227s # random seed: R02S0311374190e7282c8d581927f7de4acb 227s 1..2 227s # Start of thread tests 227s # Start of deprecated tests 227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/home 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/cache 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/system-config2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/config 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/system-data2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/data 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/state 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_1FMDX2/thread/deprecated/init/.dirs/runtime 227s ok 1 /thread/deprecated/init 227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_1FMDX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 227s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 227s # End of deprecated tests 227s # End of thread tests 227s ok - glib/init.test 227s # Running test: glib/messages-low-memory.py.test 227s TAP version 13 227s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 227s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 227s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 227s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 227s # Return code: -6 227s # Output: 227s # Error: GLib-Message: 08:33:50.952: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 227s # GLib-Message: 08:33:50.952: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 227s # ../../../glib/gprintf.c:350: failed to allocate memory 227s 1..1 227s ok - glib/messages-low-memory.py.test 227s # Running test: glib/objects-refcount2.test 227s TAP version 14 227s # random seed: R02S5ec4fab6285f40ed3cb99f7747f59859 227s 1..1 227s # Start of gobject tests 227s # Start of refcount tests 227s # init 0x5711e592e740 227s # 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 227s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 228s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 229s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # . 230s # dispose 0x5711e592e740! 230s # 230s ok 1 /gobject/refcount/object-advanced 230s # slow test /gobject/refcount/object-advanced executed in 3.99 secs 230s # End of refcount tests 230s # End of gobject tests 230s ok - glib/objects-refcount2.test 230s # Running test: glib/relation.test 230s TAP version 14 230s # random seed: R02S61febb105a256a0bb6b0aa1aadc70991 230s 1..1 230s # Start of glib tests 230s ok 1 /glib/relation 230s # End of glib tests 230s ok - glib/relation.test 230s # Running test: glib/signals-refcount4.test 230s TAP version 14 230s # random seed: R02S7e9a9ca3291271eddbbb97dab14a0485 230s 1..1 230s # Start of gobject tests 230s # Start of refcount tests 230s # init 0x5c53905bc420 230s # 230s # init 0x5c53905bc5c0 230s # 232s # Executing: glib/signals-refcount4.test 235s # dispose 0x5c53905bc420! 235s # 235s # dispose 0x5c53905bc5c0! 235s # 235s ok 1 /gobject/refcount/signals 235s # slow test /gobject/refcount/signals executed in 5.00 secs 235s # End of refcount tests 235s # End of gobject tests 235s ok - glib/signals-refcount4.test 235s # Running test: glib/642026-ec.test 235s TAP version 14 235s # random seed: R02Sac060a1c79305c2b31ad6b88ff4bb977 235s 1..1 235s # Start of glib tests 235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 236s ok 1 /glib/642026 236s # End of glib tests 236s ok - glib/642026-ec.test 236s # Running test: glib/resolver-parsing.test 236s TAP version 14 236s # random seed: R02Sce8d5165e174e6ceaf2c87e7dbbfc6c9 236s 1..21 236s # Start of gresolver tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/invalid-header/.dirs/runtime 236s ok 1 /gresolver/invalid-header 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/record-ownership/.dirs/runtime 236s ok 2 /gresolver/record-ownership 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/unknown-record-type/.dirs/runtime 236s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 236s ok 3 /gresolver/unknown-record-type 236s # Start of mx tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/valid/.dirs/runtime 236s ok 4 /gresolver/mx/valid 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/.dirs/runtime 236s ok 5 /gresolver/mx/invalid 236s # Start of invalid tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short/.dirs/runtime 236s ok 6 /gresolver/mx/invalid/too-short 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/mx/invalid/too-short2/.dirs/runtime 236s ok 7 /gresolver/mx/invalid/too-short2 236s # End of invalid tests 236s # End of mx tests 236s # Start of ns tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/valid/.dirs/runtime 236s ok 8 /gresolver/ns/valid 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/ns/invalid/.dirs/runtime 236s ok 9 /gresolver/ns/invalid 236s # End of ns tests 236s # Start of soa tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/valid/.dirs/runtime 236s ok 10 /gresolver/soa/valid 236s # Start of invalid tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/mname/.dirs/runtime 236s ok 11 /gresolver/soa/invalid/mname 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/rname/.dirs/runtime 236s ok 12 /gresolver/soa/invalid/rname 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/soa/invalid/too-short/.dirs/runtime 236s ok 13 /gresolver/soa/invalid/too-short 236s # End of invalid tests 236s # End of soa tests 236s # Start of srv tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/valid/.dirs/runtime 236s ok 14 /gresolver/srv/valid 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/.dirs/runtime 236s ok 15 /gresolver/srv/invalid 236s # Start of invalid tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short/.dirs/runtime 236s ok 16 /gresolver/srv/invalid/too-short 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/srv/invalid/too-short2/.dirs/runtime 236s ok 17 /gresolver/srv/invalid/too-short2 236s # End of invalid tests 236s # End of srv tests 236s # Start of txt tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/.dirs/runtime 236s ok 18 /gresolver/txt/valid 236s # Start of valid tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/valid/multiple-strings/.dirs/runtime 236s ok 19 /gresolver/txt/valid/multiple-strings 236s # End of valid tests 236s # Start of invalid tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/empty/.dirs/runtime 236s ok 20 /gresolver/txt/invalid/empty 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7UK5W2/gresolver/txt/invalid/overflow/.dirs/runtime 236s ok 21 /gresolver/txt/invalid/overflow 236s # End of invalid tests 236s # End of txt tests 236s # End of gresolver tests 236s ok - glib/resolver-parsing.test 236s # Running test: glib/readwrite.test 236s TAP version 14 236s # random seed: R02S3394db2c434d86c3c5f9f85d9b5548c9 236s 1..3 236s # Start of readwrite tests 236s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 236s ok 1 /readwrite/test_g_file_open_readwrite 236s ok 2 /readwrite/test_g_file_create_readwrite 236s ok 3 /readwrite/test_g_file_replace_readwrite 236s # End of readwrite tests 236s ok - glib/readwrite.test 236s # Running test: glib/error.test 236s TAP version 14 236s # random seed: R02S1194288187c7ad5b93fcfad0cac2b3f9 236s 1..3 236s # Start of error tests 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_7U75W2/error/from-errno/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_7U75W2/error/from-errno/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_7U75W2/error/from-errno/.dirs/system-config1:/tmp/test_error_7U75W2/error/from-errno/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_7U75W2/error/from-errno/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_7U75W2/error/from-errno/.dirs/system-data1:/tmp/test_error_7U75W2/error/from-errno/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_7U75W2/error/from-errno/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_7U75W2/error/from-errno/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_7U75W2/error/from-errno/.dirs/runtime 236s ok 1 /error/from-errno 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_7U75W2/error/from-file-error/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_7U75W2/error/from-file-error/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_7U75W2/error/from-file-error/.dirs/system-config1:/tmp/test_error_7U75W2/error/from-file-error/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_7U75W2/error/from-file-error/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_7U75W2/error/from-file-error/.dirs/system-data1:/tmp/test_error_7U75W2/error/from-file-error/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_7U75W2/error/from-file-error/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_7U75W2/error/from-file-error/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_7U75W2/error/from-file-error/.dirs/runtime 236s ok 2 /error/from-file-error 236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/home 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/cache 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_7U75W2/error/from-win32-error/.dirs/system-config2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/config 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_7U75W2/error/from-win32-error/.dirs/system-data2 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/data 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/state 236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_7U75W2/error/from-win32-error/.dirs/runtime 236s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 236s # End of error tests 236s ok - glib/error.test 236s # Running test: glib/fileattributematcher.test 236s TAP version 14 236s # random seed: R02Scb6675d1519fc2ad00f950d65d652986 236s 1..3 236s # Start of fileattributematcher tests 236s ok 1 /fileattributematcher/exact 236s ok 2 /fileattributematcher/equality 236s ok 3 /fileattributematcher/subtract 236s # End of fileattributematcher tests 236s ok - glib/fileattributematcher.test 236s # Running test: glib/gobject-query.py.test 236s TAP version 13 236s ok 1 __main__.TestGobjectQuery.test_froots 236s # gobject-query: /usr/bin/gobject-query 236s # Running: ['/usr/bin/gobject-query', 'froots'] 236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 236s # Output: ├void 236s # ├GInterface 236s # │ â””GTypePlugin 236s # ├gchar 236s # ├guchar 236s # ├gboolean 236s # ├gint 236s # ├guint 236s # ├glong 236s # ├gulong 236s # ├gint64 236s # ├guint64 236s # ├GEnum 236s # ├GFlags 236s # ├gfloat 236s # ├gdouble 236s # ├gchararray 236s # ├gpointer 236s # │ â””GType 236s # ├GBoxed 236s # │ â””GValueArray 236s # ├GParam 236s # │ ├GParamChar 236s # │ ├GParamUChar 236s # │ ├GParamBoolean 236s # │ ├GParamInt 236s # │ ├GParamUInt 236s # │ ├GParamLong 236s # │ ├GParamULong 236s # │ ├GParamInt64 236s # │ ├GParamUInt64 236s # │ ├GParamUnichar 236s # │ ├GParamEnum 236s # │ ├GParamFlags 236s # │ ├GParamFloat 236s # │ ├GParamDouble 236s # │ ├GParamString 236s # │ ├GParamParam 236s # │ ├GParamBoxed 236s # │ ├GParamPointer 236s # │ ├GParamValueArray 236s # │ ├GParamObject 236s # │ ├GParamOverride 236s # │ ├GParamGType 236s # │ â””GParamVariant 236s # ├GObject 236s # â””GVariant 236s ok 2 __main__.TestGobjectQuery.test_help 236s # gobject-query: /usr/bin/gobject-query 236s # Running: ['/usr/bin/gobject-query', '--help'] 236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 236s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 236s # -r specify root type 236s # -n don't descend type tree 236s # -h show help 236s # -b specify indent string 236s # -i specify incremental indent string 236s # -s specify line spacing 236s # qualifiers: 236s # froots iterate over fundamental roots 236s # tree print type tree 236s ok 3 __main__.TestGobjectQuery.test_tree 236s # gobject-query: /usr/bin/gobject-query 236s # Running: ['/usr/bin/gobject-query', 'tree'] 236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 236s # Output: GObject 236s ok 4 __main__.TestGobjectQuery.test_version 236s # gobject-query: /usr/bin/gobject-query 236s # Running: ['/usr/bin/gobject-query', '--version'] 236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 236s # Output: 2.82.1 236s 1..4 236s ok - glib/gobject-query.py.test 236s # Running test: glib/override.test 236s TAP version 14 236s # random seed: R02Sdd8532cc6af31eb3d459cf7ccfc00bec 236s 1..1 236s # Start of gobject tests 236s # *** emitting foo on a TestA instance 236s # Expecting: TestA::foo,TestI::foo 236s # Got: TestA::foo,TestI::foo 236s # *** emitting bar on a TestA instance 236s # Expecting: TestA::bar 236s # Got: TestA::bar 236s # *** emitting baz on a TestA instance 236s # Expecting: TestA::baz 236s # Got: TestA::baz 236s # *** emitting foo on a TestB instance 236s # Expecting: TestB::foo,TestA::foo,TestI::foo 236s # Got: TestB::foo,TestA::foo,TestI::foo 236s # *** emitting bar on a TestB instance 236s # Expecting: TestB::bar,TestA::bar 236s # Got: TestB::bar,TestA::bar 236s # *** emitting baz on a TestB instance 236s # Expecting: TestB::baz,TestA::baz 236s # Got: TestB::baz,TestA::baz 236s # *** emitting foo on a TestC instance 236s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 236s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 236s # *** emitting bar on a TestC instance 236s # Expecting: TestC::bar,TestB::bar,TestA::bar 236s # Got: TestC::bar,TestB::bar,TestA::bar 236s # *** emitting baz on a TestC instance 236s # Expecting: TestC::baz,TestB::baz,TestA::baz 236s # Got: TestC::baz,TestB::baz,TestA::baz 236s ok 1 /gobject/override 236s # End of gobject tests 236s ok - glib/override.test 236s # Running test: glib/node.test 236s TAP version 14 236s # random seed: R02Sd2e6cd560ff0975fddb72fb864c643eb 236s 1..6 236s # Start of node tests 236s ok 1 /node/allocation 236s ok 2 /node/construction 236s ok 3 /node/traversal 236s ok 4 /node/misc 236s ok 5 /node/unlink 236s ok 6 /node/copy 236s # End of node tests 236s ok - glib/node.test 236s # Running test: glib/g-file-info.test 236s TAP version 14 236s # random seed: R02S645eee909243d42dedf82b692cf7d738 236s 1..6 236s # Start of g-file-info tests 236s ok 1 /g-file-info/test_g_file_info 236s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 236s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 236s ok 2 /g-file-info/xattrs 236s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 236s ok 3 /g-file-info/set-modified-date-time-precision 236s # Start of test_g_file_info tests 236s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 236s ok 4 /g-file-info/test_g_file_info/modification-time 236s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 236s ok 5 /g-file-info/test_g_file_info/access-time 236s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 236s ok 6 /g-file-info/test_g_file_info/creation-time 236s # End of test_g_file_info tests 236s # End of g-file-info tests 236s ok - glib/g-file-info.test 236s # Running test: glib/signals-refcount3.test 236s TAP version 14 236s # random seed: R02Sa29e685256f0fdf2c0bffbe9d0b38574 236s 1..1 236s # Start of gobject tests 236s # Start of refcount tests 236s # init 0x632eadc5a420 236s # 236s # init 0x632eadc5a5c0 236s # 237s # Executing: glib/signals-refcount3.test 241s # dispose 0x632eadc5a420! 241s # 241s # dispose 0x632eadc5a5c0! 241s # 241s ok 1 /gobject/refcount/signals 241s # slow test /gobject/refcount/signals executed in 5.00 secs 241s # End of refcount tests 241s # End of gobject tests 241s ok - glib/signals-refcount3.test 241s # Running test: glib/gdbus-peer.test 241s TAP version 14 241s # random seed: R02S446090df184db0371fc36ba7cc307457 241s 1..12 241s # Start of gdbus tests 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/.dirs/runtime 241s # Testing with unix:dir address 241s # Testing with unix:tmpdir address 241s # Testing with unix:path address 241s ok 1 /gdbus/peer-to-peer 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/delayed-message-processing/.dirs/runtime 241s # Testing with unix:dir address 241s ok 2 /gdbus/delayed-message-processing 241s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/nonce-tcp/.dirs/runtime 241s ok 3 /gdbus/nonce-tcp 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/tcp-anonymous/.dirs/runtime 241s ok 4 /gdbus/tcp-anonymous 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/credentials/.dirs/runtime 241s ok 5 /gdbus/credentials 241s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/home 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/cache 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/system-config2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/config 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/system-data2 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/data 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/state 241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/codegen-peer-to-peer/.dirs/runtime 241s # Testing with unix:dir address 241s # Machine ID: d5163568f8014e4a9fe0db3bf89a8d3d 242s # Executing: glib/gdbus-peer.test 242s ok 6 /gdbus/codegen-peer-to-peer 242s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 242s # Start of peer-to-peer tests 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/signals/.dirs/runtime 242s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 242s # Testing with unix:dir address 242s ok 7 /gdbus/peer-to-peer/signals 242s # Start of invalid tests 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 242s ok 8 /gdbus/peer-to-peer/invalid/server 242s # Start of conn tests 242s # Start of stream tests 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 242s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 242s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 242s # End of stream tests 242s # Start of addr tests 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 242s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXC8W2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 242s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 242s # End of addr tests 242s # End of conn tests 242s # End of invalid tests 242s # End of peer-to-peer tests 242s # End of gdbus tests 242s ok - glib/gdbus-peer.test 242s # Running test: glib/ifaceproperties.test 242s TAP version 14 242s # random seed: R02S69b34f9eb67bb179a2e62fddbb8a0b25 242s 1..7 242s # Start of interface tests 242s # Start of properties tests 242s ok 1 /interface/properties/set 242s ok 2 /interface/properties/notify 242s ok 3 /interface/properties/find-overridden 242s ok 4 /interface/properties/list-overridden 242s ok 5 /interface/properties/find-interface 242s ok 6 /interface/properties/list-interface 242s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 242s ok 7 /interface/properties/not-overridden 242s # End of properties tests 242s # End of interface tests 242s ok - glib/ifaceproperties.test 242s # Running test: glib/include.test 242s TAP version 14 242s # random seed: R02Se6e6512a193fa580ec222b64e90a22d3 242s 1..1 242s # Start of include tests 242s ok 1 /include/rwlock 242s # End of include tests 242s ok - glib/include.test 242s # Running test: glib/private.test 242s TAP version 14 242s # random seed: R02Sb3da06399f374a0618e662e79ebb32fc 242s 1..8 242s # Start of thread tests 242s ok 1 /thread/private1 243s ok 2 /thread/private2 243s # slow test /thread/private2 executed in 1.08 secs 243s ok 3 /thread/private3 243s ok 4 /thread/staticprivate1 243s ok 5 /thread/staticprivate2 243s ok 6 /thread/staticprivate3 245s ok 7 /thread/staticprivate4 245s # slow test /thread/staticprivate4 executed in 1.08 secs 245s ok 8 /thread/staticprivate5 245s # End of thread tests 245s ok - glib/private.test 245s # Running test: glib/credentials.test 245s TAP version 14 245s # random seed: R02Sfdc0c6aa375f00dfc96c768236e7857e 245s 1..1 245s # Start of credentials tests 245s # GCredentials:linux-ucred:pid=4004,uid=1000,gid=1000 245s # GCredentials:linux-ucred:pid=4004,uid=0,gid=1000 245s ok 1 /credentials/basic 245s # End of credentials tests 245s ok - glib/credentials.test 245s # Running test: glib/enums.test 245s TAP version 14 245s # random seed: R02Sa90e66f4940a9de9830e4736576e134f 245s 1..4 245s # Start of enum tests 245s ok 1 /enum/basic 245s ok 2 /enum/define-type 245s # End of enum tests 245s # Start of flags tests 245s ok 3 /flags/basic 245s ok 4 /flags/define-type 245s # End of flags tests 245s ok - glib/enums.test 245s # Running test: glib/gnotification.test 245s TAP version 14 245s # random seed: R02S4521ef12aa3edc7607ef5963ae8b627f 245s 1..2 245s # Start of gnotification tests 245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 245s ok 1 /gnotification/basic 245s ok 2 /gnotification/properties 245s # End of gnotification tests 245s ok - glib/gnotification.test 245s # Running test: glib/registered-type-info.test 245s TAP version 14 245s # random seed: R02S8a594ab8859ebf05e342c2d85fe9aa45 245s 1..1 245s # Start of registered-type-info tests 245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/home 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/cache 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/system-config2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/config 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/system-data2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/data 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/state 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_NRH6W2/registered-type-info/boxed/.dirs/runtime 245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 245s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 245s # Expecting CClosure to not be boxed 245s # Expecting TypeCValue to not be boxed 245s # Expecting InitiallyUnownedClass to not be boxed 245s # Expecting BookmarkFile to be boxed 245s # Expecting Closure to be boxed 245s # Expecting Object to not be boxed 245s ok 1 /registered-type-info/boxed 245s # End of registered-type-info tests 245s ok - glib/registered-type-info.test 245s # Running test: glib/qdata.test 245s TAP version 14 245s # random seed: R02Sd18f7b4ac309bdc851cb3ffb6243c0a2 245s 1..2 245s # Start of qdata tests 245s ok 1 /qdata/threaded 245s ok 2 /qdata/dup 245s # End of qdata tests 245s ok - glib/qdata.test 245s # Running test: glib/object-info.test 245s TAP version 14 245s # random seed: R02Se62ca176bd64d4baaaa687779d55e45c 245s 1..2 245s # Start of object-info tests 245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/home 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/cache 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/system-config2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/config 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/system-data2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/data 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/state 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JQL9W2/object-info/find-method-using-interfaces/.dirs/runtime 245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 245s ok 1 /object-info/find-method-using-interfaces 245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/home 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/cache 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/config 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/data 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/state 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_JQL9W2/object-info/find-vfunc-using-interfaces/.dirs/runtime 245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 245s ok 2 /object-info/find-vfunc-using-interfaces 245s # End of object-info tests 245s ok - glib/object-info.test 245s # Running test: glib/utils-c-89.test 245s TAP version 14 245s # random seed: R02Sfac7d3884456a55a575b21115e3a6fb1 245s 1..40 245s # Start of utils tests 245s ok 1 /utils/language-names 245s ok 2 /utils/locale-variants 245s ok 3 /utils/version 245s ok 4 /utils/appname 245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 245s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 245s ok 5 /utils/prgname-thread-safety 245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 245s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 245s ok 6 /utils/tmpdir 245s ok 7 /utils/basic_bits 245s ok 8 /utils/bits 245s ok 9 /utils/swap 245s ok 10 /utils/find-program 245s ok 11 /utils/find-program-for-path 245s ok 12 /utils/debug 245s ok 13 /utils/codeset 245s ok 14 /utils/codeset2 245s ok 15 /utils/console-charset 245s ok 16 /utils/gettext 245s ok 17 /utils/username 245s ok 18 /utils/realname 245s ok 19 /utils/hostname 245s ok 20 /utils/xdgdirs 245s ok 21 /utils/specialdir 245s # NAME: Ubuntu 245s ok 22 /utils/os-info 245s ok 23 /utils/clear-pointer 245s ok 24 /utils/clear-pointer-cast 245s ok 25 /utils/take-pointer 245s ok 26 /utils/clear-source 245s ok 27 /utils/misc-mem 245s # /utils/aligned-mem summary: Aligned memory allocator 245s # Alignment must not be zero 245s # Alignment must be a power of two 245s # Alignment must be a multiple of sizeof(void*) 245s ok 28 /utils/aligned-mem 245s # /utils/free-sized summary: Check that g_free_sized() works 245s ok 29 /utils/free-sized 245s ok 30 /utils/nullify 245s ok 31 /utils/atexit 245s ok 32 /utils/check-setuid 245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 245s ok 33 /utils/int-limits 245s ok 34 /utils/clear-list 245s ok 35 /utils/clear-slist 245s # Start of specialdir tests 245s ok 36 /utils/specialdir/desktop 245s # End of specialdir tests 245s # Start of clear-pointer tests 245s ok 37 /utils/clear-pointer/side-effects 245s # End of clear-pointer tests 245s # Start of aligned-mem tests 245s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 245s ok 38 /utils/aligned-mem/alignment 245s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 245s ok 39 /utils/aligned-mem/zeroed 245s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 245s ok 40 /utils/aligned-mem/free-sized 245s # Start of subprocess tests 245s # End of subprocess tests 245s # End of aligned-mem tests 245s # End of utils tests 245s ok - glib/utils-c-89.test 245s # Running test: glib/gdbus-proxy-unique-name.test 245s TAP version 14 245s # random seed: R02S715d8052ddfcc7427357f9730cc0c11a 245s 1..1 245s # Start of gdbus tests 245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/home 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/cache 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/system-config2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/config 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/system-data2 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/data 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/state 245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_5BY9W2/gdbus/proxy-unique-name/.dirs/runtime 245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 245s ok 1 /gdbus/proxy-unique-name 245s # End of gdbus tests 245s ok - glib/gdbus-proxy-unique-name.test 245s # Running test: glib/unix-streams.test 245s TAP version 14 245s # random seed: R02Sf09781e03ff3774fd2d80e20c021473b 245s 1..9 245s # Start of unix-streams tests 245s ok 1 /unix-streams/basic 245s ok 2 /unix-streams/pipe-io-test 245s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 246s ok 3 /unix-streams/nonblocking-io-test 246s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 246s ok 4 /unix-streams/read_write 246s ok 5 /unix-streams/read_writev 246s ok 6 /unix-streams/write-wouldblock 246s ok 7 /unix-streams/writev-wouldblock 246s ok 8 /unix-streams/write-async-wouldblock 246s ok 9 /unix-streams/writev-async-wouldblock 246s # End of unix-streams tests 246s ok - glib/unix-streams.test 246s # Running test: glib/timer.test 246s TAP version 14 246s # random seed: R02Sd890ae7ac993730890e646347cc281de 246s 1..10 246s # Start of timer tests 246s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 246s ok 2 /timer/stop 246s ok 3 /timer/continue 246s ok 4 /timer/reset 246s ok 5 /timer/is_active 246s # End of timer tests 246s # Start of timeval tests 246s ok 6 /timeval/add 246s ok 7 /timeval/from-iso8601 246s ok 8 /timeval/to-iso8601 246s # Start of to-iso8601 tests 246s ok 9 /timeval/to-iso8601/overflow 246s # End of to-iso8601 tests 246s # End of timeval tests 246s # Start of usleep tests 246s ok 10 /usleep/with-zero-wait 246s # End of usleep tests 246s ok - glib/timer.test 246s # Running test: glib/unix-mounts.test 246s TAP version 14 246s # random seed: R02S9cbcdc9dec2fd2f05f30b2f0879aa82b 246s 1..4 246s # Start of unix-mounts tests 246s ok 1 /unix-mounts/is-system-fs-type 246s ok 2 /unix-mounts/is-system-device-path 246s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 246s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 246s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 246s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 246s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 246s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 246s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 246s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 246s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 246s ok 3 /unix-mounts/get-mount-points 246s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 246s ok 4 /unix-mounts/get-mount-entries 246s # End of unix-mounts tests 246s ok - glib/unix-mounts.test 246s # Running test: glib/testfilemonitor.test 246s TAP version 14 246s # random seed: R02S732555c4f4be0dd99ed819281a3b9135 246s 1..8 246s # Start of monitor tests 246s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 246s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 246s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s # Start of file tests 246s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 246s # End of file tests 246s # End of monitor tests 246s ok - glib/testfilemonitor.test 246s # Running test: glib/macros-c-17.test 246s TAP version 14 246s # random seed: R02S0ebbe5153de0ff554e4446a70f4fe235 246s 1..4 246s # Start of C tests 246s ok 1 /C/standard-17 246s # End of C tests 246s # Start of alignof tests 246s ok 2 /alignof/fallback 246s # End of alignof tests 246s # Start of assert tests 246s ok 3 /assert/static 246s # End of assert tests 246s # Start of struct tests 246s ok 4 /struct/sizeof_member 246s # End of struct tests 246s ok - glib/macros-c-17.test 246s # Running test: glib/struct-info.test 246s TAP version 14 246s # random seed: R02S383d647848f5461ae5002148ca7762ae 246s 1..4 246s # Start of struct-info tests 246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/home 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/cache 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/system-config2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/config 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/system-data2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/data 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/state 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_5JF0W2/struct-info/field-iterators/.dirs/runtime 246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 246s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 246s ok 1 /struct-info/field-iterators 246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/home 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/cache 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/system-config2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/config 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/system-data2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/data 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/state 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_5JF0W2/struct-info/sizeof-gvalue/.dirs/runtime 246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 246s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 246s ok 2 /struct-info/sizeof-gvalue 246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_5JF0W2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 246s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 246s ok 3 /struct-info/is-pointer-for-struct-method-arg 246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/home 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/cache 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/system-config2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/config 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/system-data2 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/data 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/state 246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_5JF0W2/struct-info/boxed/.dirs/runtime 246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 246s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 246s ok 4 /struct-info/boxed 246s # End of struct-info tests 246s ok - glib/struct-info.test 246s # Running test: glib/memchunk.test 246s TAP version 14 246s # random seed: R02S29677ee9576216431075ccb6e60a9229 246s 1..1 246s # Start of memchunk tests 246s ok 1 /memchunk/basic 246s # End of memchunk tests 246s ok - glib/memchunk.test 246s # Running test: glib/filter-streams.test 246s TAP version 14 246s # random seed: R02Se5cb3394c1ff7282f66656f3ec280ab0 246s 1..4 246s # Start of filter-stream tests 246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 246s ok 1 /filter-stream/input 246s ok 2 /filter-stream/output 246s ok 3 /filter-stream/async-input 246s ok 4 /filter-stream/async-output 246s # End of filter-stream tests 246s ok - glib/filter-streams.test 246s # Running test: glib/tls-certificate.test 246s TAP version 14 246s # random seed: R02S3eed8fdee683fe51c74f4074863509e7 246s 1..19 246s # Start of tls-certificate tests 246s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 246s ok 1 /tls-certificate/pem-parser 246s ok 2 /tls-certificate/pem-parser-handles-chain 246s ok 3 /tls-certificate/from_file 246s ok 4 /tls-certificate/from_files 246s ok 5 /tls-certificate/from_files_crlf 246s ok 6 /tls-certificate/from_files_pkcs8 246s ok 7 /tls-certificate/from_files_pkcs8enc 246s ok 8 /tls-certificate/list_from_file 246s ok 9 /tls-certificate/pkcs11-uri 246s ok 10 /tls-certificate/pkcs11-uri-unsupported 246s ok 11 /tls-certificate/from_pkcs12 246s ok 12 /tls-certificate/from_pkcs12_file 246s ok 13 /tls-certificate/not-valid-before 246s ok 14 /tls-certificate/not-valid-after 246s ok 15 /tls-certificate/subject-name 246s ok 16 /tls-certificate/issuer-name 246s ok 17 /tls-certificate/dns-names 246s ok 18 /tls-certificate/ip-addresses 246s ok 19 /tls-certificate/pem-parser-no-sentinel 246s # End of tls-certificate tests 246s ok - glib/tls-certificate.test 246s # Running test: glib/network-monitor.test 246s TAP version 14 246s # random seed: R02Sb905957da0dc3d9516ec0025735c6d72 246s 1..4 246s # Start of network-monitor tests 246s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 246s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 246s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 246s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 246s ok 1 /network-monitor/default 246s ok 2 /network-monitor/remove_default 246s ok 3 /network-monitor/add_networks 246s ok 4 /network-monitor/remove_networks 246s # End of network-monitor tests 246s ok - glib/network-monitor.test 246s # Running test: glib/properties-refcount3.test 246s TAP version 14 246s # random seed: R02S9b8b1d7d2cbbf931a84d2f29ab1b344c 246s 1..1 246s # Start of gobject tests 246s # Start of refcount tests 247s # Executing: glib/properties-refcount3.test 252s # Executing: glib/properties-refcount3.test 257s # Executing: glib/properties-refcount3.test 262s # Executing: glib/properties-refcount3.test 267s # Executing: glib/properties-refcount3.test 272s # Executing: glib/properties-refcount3.test 276s # 276s # stopping 276s # 276s # stopped 276s # 276s # 22300487 97519 276s # 276s ok 1 /gobject/refcount/properties-3 276s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 276s # End of refcount tests 276s # End of gobject tests 276s ok - glib/properties-refcount3.test 276s # Running test: glib/signals-refcount1.test 276s TAP version 14 276s # random seed: R02S762433595640a849519b978981df4e15 276s 1..1 276s # Start of gobject tests 276s # Start of refcount tests 276s # init 0x5fb98da5c420 276s # 276s # init 0x5fb98da5c5c0 276s # 277s # Executing: glib/signals-refcount1.test 281s # dispose 0x5fb98da5c420! 281s # 281s # dispose 0x5fb98da5c5c0! 281s # 281s ok 1 /gobject/refcount/signals 281s # slow test /gobject/refcount/signals executed in 5.00 secs 281s # End of refcount tests 281s # End of gobject tests 281s ok - glib/signals-refcount1.test 281s # Running test: glib/logging.test 281s TAP version 14 281s # random seed: R02S2b45c6d7988c73188df841fc4f33e7cc 281s 1..17 281s # Start of logging tests 281s ok 1 /logging/default-handler 281s # slow test /logging/default-handler executed in 0.67 secs 281s ok 2 /logging/warnings 281s ok 3 /logging/fatal-log-mask 281s # bu-DEBUG: message 281s # ba-DEBUG: message 281s # ba-INFO: message 281s ok 4 /logging/set-handler 281s ok 5 /logging/print-handler 281s ok 6 /logging/printerr-handler 281s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 281s # The Log Message Handler 281s # 281s # The Good Fail Message Handler 281s # 281s ok 7 /logging/653052 281s ok 8 /logging/gibberish 281s # Start of default-handler tests 281s # Start of subprocess tests 281s # End of subprocess tests 281s # End of default-handler tests 281s # End of logging tests 281s # Start of structured-logging tests 281s ok 9 /structured-logging/no-state 281s ok 10 /structured-logging/some-state 281s ok 11 /structured-logging/robustness 281s ok 12 /structured-logging/roundtrip1 281s ok 13 /structured-logging/roundtrip2 282s ok 14 /structured-logging/roundtrip3 282s ok 15 /structured-logging/variant1 282s ok 16 /structured-logging/variant2 282s ok 17 /structured-logging/set-writer-func-twice 282s # End of structured-logging tests 282s ok - glib/logging.test 282s # Running test: glib/gdbus-subscribe.test 282s TAP version 14 282s # random seed: R02Sbf0ad6635fb8545cd7eede2b32c8044a 282s 1..24 282s # Start of gdbus tests 282s # Start of subscribe tests 282s # Start of conn tests 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/simple/.dirs/runtime 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 282s # Step 0: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 1 /gdbus/subscribe/conn/simple 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 282s # Step 0: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: service 2 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: service 2 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 1 282s # Signal received from service 2 :1.2 282s # Signal received from service 2 :1.2 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Signal received from service 2 :1.2 282s # Signal received from service 2 :1.2 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/match_twice/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: (any) 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: (any) 282s # Path: (any) 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 3: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 4: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 3 /gdbus/subscribe/conn/match_twice 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 282s # Step 0: adding subscription 282s # Sender: :0.this.had.better.not.exist 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: org.gtk.Test.OwnedLater 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 3: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 5: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 6: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Step 7: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 5 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 282s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 282s # Step 0: adding subscription 282s # Sender: org.freedesktop.DBus 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # String argument 0: would I lie to you? 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Waiting for signal to reach message bus 282s # Step 3: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Signal received from message bus org.freedesktop.DBus 282s # Signal received from (unused) org.freedesktop.DBus via connection 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Immediately unsubscribing 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 282s # End of conn tests 282s # Start of proxy tests 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/simple/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 282s # Step 0: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 9 /gdbus/subscribe/proxy/simple 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 282s # Step 0: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: service 2 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: service 2 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: (any) 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: (any) 282s # Path: (any) 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 3: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 4: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 11 /gdbus/subscribe/proxy/match_twice 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 282s # Step 0: adding subscription 282s # Sender: :0.this.had.better.not.exist 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: org.gtk.Test.OwnedLater 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 3: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 5: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 6: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Step 7: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 5 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 282s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 282s # Step 0: adding subscription 282s # Sender: org.freedesktop.DBus 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # String argument 0: would I lie to you? 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Waiting for signal to reach message bus 282s # Step 3: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Signal received from message bus org.freedesktop.DBus 282s # Signal received from (unused) org.freedesktop.DBus via proxy 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 282s # End of proxy tests 282s # Start of parallel tests 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/simple/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 282s # Step 0: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 17 /gdbus/subscribe/parallel/simple 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 282s # Step 0: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: service 2 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: service 2 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 1 282s # Signal received from service 2 :1.2 282s # Signal received from service 2 :1.2 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Signal received from service 2 :1.2 282s # Signal received from service 2 :1.2 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: adding subscription 282s # Sender: (any) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: (any) 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: (any) 282s # Path: (any) 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Cannot subscribe via proxy: no bus name 282s # Waiting for AddMatch to be processed 282s # Step 3: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 4: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 4 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 282s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 19 /gdbus/subscribe/parallel/match_twice 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 282s # Step 0: adding subscription 282s # Sender: service :1.1 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 3: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 3 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 282s # Step 0: adding subscription 282s # Sender: :0.this.had.better.not.exist 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 2: adding subscription 282s # Sender: org.gtk.Test.OwnedLater 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 3: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 4: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 5: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Step 6: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Step 7: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 5 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 5 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via connection 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 7 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 282s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 282s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 282s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 282s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 282s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 282s # Step 0: adding subscription 282s # Sender: org.freedesktop.DBus 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 1: emitting signal 282s # Sender: attacker 282s # Destination: (broadcast) 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # String argument 0: would I lie to you? 282s # Waiting for signal to reach message bus 282s # Step 2: emitting signal 282s # Sender: attacker 282s # Destination: subscriber :1.0 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Waiting for signal to reach message bus 282s # Step 3: claiming bus name 282s # Name: org.gtk.Test.OwnedLater 282s # Owner: service 282s # Signal received from message bus org.freedesktop.DBus 282s # Signal received from (unused) org.freedesktop.DBus via connection 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Signal received from message bus org.freedesktop.DBus 282s # Signal received from (unused) org.freedesktop.DBus via proxy 282s # Path: /org/freedesktop/DBus 282s # Interface: org.freedesktop.DBus 282s # Member: NameOwnerChanged 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 282s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 282s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_R8Y5W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 282s # subscriber is :1.0 282s # service is :1.1 282s # service 2 is :1.2 282s # attacker is :1.3 282s # Waiting for AddMatch to be processed 282s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 282s # Step 0: claiming bus name 282s # Name: org.gtk.Test.AlreadyOwned 282s # Owner: service 282s # Step 1: adding subscription 282s # Sender: org.gtk.Test.AlreadyOwned 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: (any) 282s # String argument 0: (any) 282s # Flags: 0 282s # Subscribing via connection 282s # Immediately unsubscribing 282s # Subscribing via proxy 282s # Waiting for AddMatch to be processed 282s # Step 2: emitting signal 282s # Sender: service 282s # Destination: (broadcast) 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Waiting for signal to reach message bus 282s # Signal received from service :1.1 282s # Signal received from service :1.1 via proxy 282s # Path: /org/gtk/GDBus/ExampleInterface 282s # Interface: org.gtk.GDBus.ExampleInterface 282s # Member: Foo 282s # Argument 0: (not a string) 282s # Sent in step: 2 282s # Received Finished signal from subscriber :1.0 282s # Received Finished signal from service :1.1 282s # Received Finished signal from service 2 :1.2 282s # Received Finished signal from attacker :1.3 282s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 282s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 282s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 282s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 282s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 282s # End of parallel tests 282s # End of subscribe tests 282s # End of gdbus tests 282s ok - glib/gdbus-subscribe.test 282s # Running test: glib/signals-refcount2.test 282s TAP version 14 282s # random seed: R02S5c532e6cd75282447c80ad8ba5f2f001 282s 1..1 282s # Start of gobject tests 282s # Start of refcount tests 282s # init 0x5ba9d8a1a420 282s # 282s # init 0x5ba9d8a1a5c0 282s # 282s # Executing: glib/signals-refcount2.test 287s # dispose 0x5ba9d8a1a420! 287s # 287s # dispose 0x5ba9d8a1a5c0! 287s # 287s ok 1 /gobject/refcount/signals 287s # slow test /gobject/refcount/signals executed in 5.00 secs 287s # End of refcount tests 287s # End of gobject tests 287s ok - glib/signals-refcount2.test 287s # Running test: glib/thread-pool.test 287s TAP version 14 287s # random seed: R02Sc1c813b93511dfc09029664be1fbed25 287s 1..5 287s # Start of thread_pool tests 287s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 287s ok 1 /thread_pool/shared 287s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 287s ok 2 /thread_pool/exclusive 287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 287s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 287s ok 3 /thread_pool/create_shared_after_exclusive 287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 287s ok 4 /thread_pool/create_full 287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 287s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 287s ok 5 /thread_pool/create_exclusive_after_shared 287s # End of thread_pool tests 287s ok - glib/thread-pool.test 287s # Running test: glib/network-monitor-race.test 287s TAP version 14 287s # random seed: R02S2d0ce4eb6f4c49e76729c368d0a473f0 287s 1..1 287s # Start of network-monitor tests 287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 287s # Executing: glib/network-monitor-race.test 289s ok 1 /network-monitor/create-in-thread 289s # slow test /network-monitor/create-in-thread executed in 2.14 secs 289s # End of network-monitor tests 289s ok - glib/network-monitor-race.test 289s # Running test: glib/gdbus-method-invocation.test 289s TAP version 14 289s # random seed: R02S429e71c029dd234699f283624f51f33a 289s 1..1 289s # Start of gdbus tests 289s # Start of method-invocation tests 289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/home 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/cache 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/system-config2 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/config 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/system-data2 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/data 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/state 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_BG21W2/gdbus/method-invocation/return/.dirs/runtime 289s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 289s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 289s # Calling org.freedesktop.DBus.Properties.Get 289s # Calling org.freedesktop.DBus.Properties.Get 289s # Calling org.freedesktop.DBus.Properties.Get 289s # Calling org.freedesktop.DBus.Properties.Set 289s # Calling org.freedesktop.DBus.Properties.GetAll 289s # Calling org.example.Foo.WrongReturnType 289s # Calling org.example.Foo.GetFDs 289s # Calling org.example.Foo.GetFDs 289s # Calling org.example.Foo.ReturnError 289s # Calling org.example.Foo.CloseBeforeReturning 289s ok 1 /gdbus/method-invocation/return 289s # End of method-invocation tests 289s # End of gdbus tests 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s ok - glib/gdbus-method-invocation.test 289s # Running test: glib/test-printf.test 289s TAP version 14 289s # random seed: R02S32bb69da3e490eb2327abd8d73ac4414 289s 1..22 289s # Start of snprintf tests 289s ok 1 /snprintf/retval-and-trunc 289s ok 2 /snprintf/%d 289s ok 3 /snprintf/%d-invalid 289s ok 4 /snprintf/%o 289s ok 5 /snprintf/%u 289s ok 6 /snprintf/%x 289s ok 7 /snprintf/%X 289s ok 8 /snprintf/%f 289s ok 9 /snprintf/%e 289s ok 10 /snprintf/%c 289s ok 11 /snprintf/%s 289s ok 12 /snprintf/%n 289s ok 13 /snprintf/test-percent 289s ok 14 /snprintf/test-positional-params 289s ok 15 /snprintf/test-64bit 289s # End of snprintf tests 289s # Start of printf tests 289s ok 16 /printf/test-percent 289s ok 17 /printf/test-positional-params 289s ok 18 /printf/test-64bit 289s # Start of test-64bit tests 289s # Start of subprocess tests 289s # End of subprocess tests 289s # End of test-64bit tests 289s # End of printf tests 289s # Start of sprintf tests 289s ok 19 /sprintf/test-positional-params 289s ok 20 /sprintf/upper-bound 289s # End of sprintf tests 289s # Start of vasprintf tests 289s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 289s ok 21 /vasprintf/invalid-format-placeholder 289s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 289s ok 22 /vasprintf/invalid-wide-string 289s # End of vasprintf tests 289s ok - glib/test-printf.test 289s # Running test: glib/gdbus-bz627724.test 289s TAP version 14 289s # random seed: R02S6fe16e6e41a3f08d60a1fb4262c22bf8 289s 1..1 289s # Start of gdbus tests 289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/home 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/cache 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/system-config2 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/config 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/system-data2 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/data 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/state 289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_YO62W2/gdbus/bz627724/.dirs/runtime 289s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 289s ok 1 /gdbus/bz627724 289s # End of gdbus tests 289s ok - glib/gdbus-bz627724.test 289s # Running test: glib/unix.test 289s TAP version 14 289s # random seed: R02Sd259d0245a8252d35a7b969ecd6aaea8 289s 1..20 289s # Start of glib-unix tests 289s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 289s ok 1 /glib-unix/closefrom 289s ok 2 /glib-unix/pipe 289s # /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 289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 289s ok 3 /glib-unix/pipe-stdio-overwrite 289s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 289s ok 4 /glib-unix/pipe-struct 289s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 289s ok 5 /glib-unix/pipe-struct-auto 289s ok 6 /glib-unix/error 289s ok 7 /glib-unix/nonblocking 289s ok 8 /glib-unix/sighup 289s # slow test /glib-unix/sighup executed in 0.50 secs 290s ok 9 /glib-unix/sigterm 290s # slow test /glib-unix/sigterm executed in 0.50 secs 290s ok 10 /glib-unix/sighup_again 290s # slow test /glib-unix/sighup_again executed in 0.50 secs 290s ok 11 /glib-unix/sighup_add_remove 290s ok 12 /glib-unix/sighup_nested 292s # Executing: glib/unix.test 292s ok 13 /glib-unix/callback_after_signal 292s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 293s ok 14 /glib-unix/child-wait 293s # Start of closefrom tests 293s # Start of subprocess tests 293s # End of subprocess tests 293s # End of closefrom tests 293s # Start of pipe tests 293s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 293s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 293s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 293s ok 15 /glib-unix/pipe/fd-cloexec 293s # End of pipe tests 293s # Start of sighup tests 294s ok 16 /glib-unix/sighup/alternate-stack 294s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 294s # End of sighup tests 294s # Start of sigterm tests 295s ok 17 /glib-unix/sigterm/alternate-stack 295s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 295s # End of sigterm tests 295s # Start of sighup_again tests 296s ok 18 /glib-unix/sighup_again/alternate-stack 296s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 296s # End of sighup_again tests 296s # Start of get-passwd-entry tests 296s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 296s ok 19 /glib-unix/get-passwd-entry/root 296s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 296s ok 20 /glib-unix/get-passwd-entry/nonexistent 296s # End of get-passwd-entry tests 296s # End of glib-unix tests 296s ok - glib/unix.test 296s # Running test: glib/thread-pool-slow.test 296s TAP version 14 296s # random seed: R02Sd1380184dedcddde81e80c2896819ca5 296s 1..7 296s # Start of threadpool tests 296s ok 1 /threadpool/functions 296s ok 2 /threadpool/stop-unused 296s # slow test /threadpool/stop-unused executed in 0.51 secs 296s ok 3 /threadpool/pools 296s # [unsorted] ===> pushed new thread with id:49, number of threads:1, unprocessed:1 296s # [unsorted] ===> pushed new thread with id:94, number of threads:2, unprocessed:2 296s # [unsorted] ===> pushed new thread with id:82, number of threads:3, unprocessed:3 296s # [unsorted] ===> pushed new thread with id:61, number of threads:4, unprocessed:4 296s # [unsorted] ===> pushed new thread with id:50, number of threads:5, unprocessed:5 296s # [unsorted] ===> pushed new thread with id:6, number of threads:6, unprocessed:6 296s # [unsorted] ===> pushed new thread with id:75, number of threads:7, unprocessed:7 296s # [unsorted] ===> pushed new thread with id:57, number of threads:8, unprocessed:8 296s # [unsorted] ===> pushed new thread with id:30, number of threads:9, unprocessed:9 296s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:10 296s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:11 296s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:12 296s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:13 296s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:14 296s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:15 296s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:16 296s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:17 296s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:18 296s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:19 296s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:20 296s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:21 296s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:22 296s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:23 296s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:24 296s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:25 296s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:26 296s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:27 296s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:28 296s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:29 296s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:30 296s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:31 296s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:31 296s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:32 296s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:32 296s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:32 296s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:32 296s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:33 296s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:34 296s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:35 296s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:36 296s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:37 296s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:38 296s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:39 296s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:40 296s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:41 296s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:42 296s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:43 296s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:44 296s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:45 296s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:46 296s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:47 296s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:48 296s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:49 296s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:50 296s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:51 296s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:52 296s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:53 296s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:54 296s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:55 296s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:56 296s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:57 296s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:58 296s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:59 296s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:60 296s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:61 296s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:62 296s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:63 296s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:64 296s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:65 296s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:66 296s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:67 296s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:68 296s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:69 296s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:70 296s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:71 296s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:72 296s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:73 296s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:74 296s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:75 296s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:76 296s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:77 296s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:78 296s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:79 296s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:80 296s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:81 296s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:82 296s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:83 296s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:84 296s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:85 296s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:86 296s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:87 296s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:88 296s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:89 296s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:90 296s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:91 296s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:92 296s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:93 296s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:94 296s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:95 296s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:96 296s ok 4 /threadpool/no-sort 296s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:1 296s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:2 296s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:3 296s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:4 296s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:5 296s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:6 296s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:7 296s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:8 296s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:9 296s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:10 296s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:11 296s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:12 296s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:13 296s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:14 296s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:15 296s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:16 296s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:17 296s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:18 296s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:19 296s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:20 296s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:21 296s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:22 296s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:23 296s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:24 296s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:25 296s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:26 296s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:27 296s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:28 296s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:29 296s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 296s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:31 296s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:32 296s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:33 296s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:34 296s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:35 296s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:36 296s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:37 296s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:38 296s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:39 296s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:40 296s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:41 296s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:42 296s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:43 296s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:44 296s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:45 296s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:46 296s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:47 296s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:48 296s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:49 296s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:50 296s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:51 296s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:52 296s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:53 296s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:54 296s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:55 296s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:56 296s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:57 296s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:58 296s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:59 296s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:60 296s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:61 296s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:62 296s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:63 296s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:64 296s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:65 296s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:66 296s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:67 296s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:68 296s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:69 296s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:70 296s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:71 296s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:72 296s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:73 296s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:74 296s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:75 296s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:76 296s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77 296s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:78 296s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:79 296s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:80 296s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:81 296s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:82 296s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:83 296s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:84 296s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:85 296s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:86 296s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:87 296s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:88 296s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:89 296s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:90 296s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:91 296s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:92 296s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:93 296s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:94 296s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:95 296s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:96 296s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:97 296s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:98 296s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:99 296s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:100 296s # Starting thread pool processing 296s ok 5 /threadpool/sort 297s ok 6 /threadpool/stop-unused-multiple 297s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 297s # Pool idle thread count: 0, unprocessed jobs: 45 297s # Executing: glib/thread-pool-slow.test 297s # Pool idle thread count: 0, unprocessed jobs: 0 297s # Pool idle thread count: 0, unprocessed jobs: 0 298s # Pool idle thread count: 10, unprocessed jobs: 0 298s # Pool idle thread count: 10, unprocessed jobs: 0 298s # Pool idle thread count: 10, unprocessed jobs: 0 298s # Pool idle thread count: 10, unprocessed jobs: 0 299s # Pool idle thread count: 10, unprocessed jobs: 0 299s # Pool idle thread count: 10, unprocessed jobs: 0 299s # Pool idle thread count: 10, unprocessed jobs: 0 299s # Pool idle thread count: 10, unprocessed jobs: 0 300s # Pool idle thread count: 10, unprocessed jobs: 0 300s # Pool idle thread count: 10, unprocessed jobs: 0 300s # Pool idle thread count: 10, unprocessed jobs: 0 300s # Pool idle thread count: 10, unprocessed jobs: 0 301s # Pool idle thread count: 10, unprocessed jobs: 0 301s # Pool idle thread count: 10, unprocessed jobs: 0 301s # Pool idle thread count: 10, unprocessed jobs: 0 301s # Pool idle thread count: 10, unprocessed jobs: 0 302s # Pool idle thread count: 10, unprocessed jobs: 0 302s # Pool idle thread count: 10, unprocessed jobs: 0 302s # Executing: glib/thread-pool-slow.test 302s # Pool idle thread count: 10, unprocessed jobs: 0 302s # Pool idle thread count: 10, unprocessed jobs: 0 303s # Pool idle thread count: 10, unprocessed jobs: 0 303s # Pool idle thread count: 10, unprocessed jobs: 0 303s # Pool idle thread count: 10, unprocessed jobs: 0 303s # Pool idle thread count: 10, unprocessed jobs: 0 304s # Pool idle thread count: 10, unprocessed jobs: 0 304s # Pool idle thread count: 10, unprocessed jobs: 0 304s # Pool idle thread count: 10, unprocessed jobs: 0 304s # Pool idle thread count: 10, unprocessed jobs: 0 305s # Pool idle thread count: 10, unprocessed jobs: 0 305s # Pool idle thread count: 10, unprocessed jobs: 0 305s # Pool idle thread count: 10, unprocessed jobs: 0 305s # Pool idle thread count: 10, unprocessed jobs: 0 306s # Pool idle thread count: 10, unprocessed jobs: 2 306s # Pool idle thread count: 8, unprocessed jobs: 0 306s # Pool idle thread count: 8, unprocessed jobs: 0 306s # Pool idle thread count: 8, unprocessed jobs: 0 306s # Pool idle thread count: 10, unprocessed jobs: 0 306s # Pool idle thread count: 10, unprocessed jobs: 0 307s # Pool idle thread count: 10, unprocessed jobs: 0 307s # Pool idle thread count: 10, unprocessed jobs: 0 307s # Executing: glib/thread-pool-slow.test 307s # Pool idle thread count: 10, unprocessed jobs: 0 307s # Pool idle thread count: 10, unprocessed jobs: 0 308s # Pool idle thread count: 2, unprocessed jobs: 0 308s # Pool idle thread count: 2, unprocessed jobs: 0 308s # Pool idle thread count: 2, unprocessed jobs: 0 308s # Pool idle thread count: 2, unprocessed jobs: 0 309s # Pool idle thread count: 2, unprocessed jobs: 0 309s # Pool idle thread count: 2, unprocessed jobs: 0 309s # Pool idle thread count: 2, unprocessed jobs: 0 309s # Pool idle thread count: 2, unprocessed jobs: 0 310s # Pool idle thread count: 2, unprocessed jobs: 0 310s # Pool idle thread count: 2, unprocessed jobs: 0 310s # Pool idle thread count: 2, unprocessed jobs: 0 310s # Pool idle thread count: 2, unprocessed jobs: 0 311s # Pool idle thread count: 2, unprocessed jobs: 0 311s # Pool idle thread count: 2, unprocessed jobs: 0 311s # Pool idle thread count: 2, unprocessed jobs: 0 311s # Pool idle thread count: 2, unprocessed jobs: 0 312s # Pool idle thread count: 2, unprocessed jobs: 0 312s # Pool idle thread count: 2, unprocessed jobs: 0 312s # Executing: glib/thread-pool-slow.test 312s # Pool idle thread count: 2, unprocessed jobs: 0 312s # Pool idle thread count: 2, unprocessed jobs: 0 313s # Pool idle thread count: 2, unprocessed jobs: 0 313s # Pool idle thread count: 2, unprocessed jobs: 0 313s # Pool idle thread count: 2, unprocessed jobs: 0 313s # Pool idle thread count: 2, unprocessed jobs: 0 314s # Pool idle thread count: 2, unprocessed jobs: 0 314s # Pool idle thread count: 2, unprocessed jobs: 0 314s # Pool idle thread count: 2, unprocessed jobs: 0 314s # Pool idle thread count: 2, unprocessed jobs: 0 315s # Pool idle thread count: 2, unprocessed jobs: 0 315s # Pool idle thread count: 2, unprocessed jobs: 0 315s # Pool idle thread count: 2, unprocessed jobs: 0 315s # Pool idle thread count: 2, unprocessed jobs: 0 316s # Pool idle thread count: 2, unprocessed jobs: 0 316s # Pool idle thread count: 2, unprocessed jobs: 0 316s ok 7 /threadpool/idle-time 316s # slow test /threadpool/idle-time executed in 19.53 secs 316s # End of threadpool tests 316s ok - glib/thread-pool-slow.test 316s # Running test: glib/dump.test 316s TAP version 14 316s # random seed: R02Sdaf83d98bd1ada82a35a423a42426038 316s 1..4 316s # Start of dump tests 316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/home 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/cache 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_J12KX2/dump/empty-file/.dirs/system-config2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/config 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_J12KX2/dump/empty-file/.dirs/system-data2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/data 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/state 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_J12KX2/dump/empty-file/.dirs/runtime 316s ok 1 /dump/empty-file 316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/home 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/cache 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/system-config2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/config 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/system-data2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/data 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/state 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_J12KX2/dump/missing-get-type/.dirs/runtime 316s Invalid GType function: 'does_not_exist_get_type' 316s ok 2 /dump/missing-get-type 316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/home 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/cache 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_J12KX2/dump/missing-quark/.dirs/system-config2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/config 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_J12KX2/dump/missing-quark/.dirs/system-data2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/data 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/state 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_J12KX2/dump/missing-quark/.dirs/runtime 316s Invalid error quark function: 'does_not_exist_error' 316s ok 3 /dump/missing-quark 316s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_J12KX2/dump/basic/.dirs/home 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_J12KX2/dump/basic/.dirs/cache 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_J12KX2/dump/basic/.dirs/system-config1:/tmp/test_dump_J12KX2/dump/basic/.dirs/system-config2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_J12KX2/dump/basic/.dirs/config 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_J12KX2/dump/basic/.dirs/system-data1:/tmp/test_dump_J12KX2/dump/basic/.dirs/system-data2 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_J12KX2/dump/basic/.dirs/data 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_J12KX2/dump/basic/.dirs/state 316s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_J12KX2/dump/basic/.dirs/runtime 316s ok 4 /dump/basic 316s # End of dump tests 316s ok - glib/dump.test 316s # Running test: glib/gvariant.test 316s TAP version 14 316s # random seed: R02S2cf18dfee849eabe6bbe4305bb1585af 316s 1..64 316s # Start of gvariant tests 316s ok 1 /gvariant/type 317s ok 2 /gvariant/typeinfo 317s ok 3 /gvariant/string 317s ok 4 /gvariant/utf8 317s ok 5 /gvariant/containers 317s ok 6 /gvariant/format-strings 317s ok 7 /gvariant/invalid-varargs 317s ok 8 /gvariant/varargs 317s ok 9 /gvariant/valist 317s ok 10 /gvariant/builder-memory 317s ok 11 /gvariant/hashing 317s ok 12 /gvariant/byteswap 317s ok 13 /gvariant/parser 317s ok 14 /gvariant/parse-failures 317s ok 15 /gvariant/parse-positional 317s ok 16 /gvariant/floating 317s ok 17 /gvariant/bytestring 317s ok 18 /gvariant/lookup-value 317s ok 19 /gvariant/lookup 317s ok 20 /gvariant/compare 317s ok 21 /gvariant/equal 317s ok 22 /gvariant/fixed-array 317s ok 23 /gvariant/check-format-string 317s ok 24 /gvariant/checksum-basic 317s ok 25 /gvariant/checksum-nested 317s ok 26 /gvariant/gbytes 317s ok 27 /gvariant/print-context 317s ok 28 /gvariant/error-quark 317s ok 29 /gvariant/stack-builder-init 317s ok 30 /gvariant/stack-dict-init 317s ok 31 /gvariant/unaligned-construction 317s # Start of type tests 317s # Start of string-scan tests 317s # Start of recursion tests 317s ok 32 /gvariant/type/string-scan/recursion/tuple 317s ok 33 /gvariant/type/string-scan/recursion/array 317s # End of recursion tests 317s # End of string-scan tests 317s # End of type tests 317s # Start of serialiser tests 317s ok 34 /gvariant/serialiser/maybe 317s # Executing: glib/gvariant.test 317s ok 35 /gvariant/serialiser/array 317s ok 36 /gvariant/serialiser/tuple 317s ok 37 /gvariant/serialiser/variant 317s ok 38 /gvariant/serialiser/strings 318s ok 39 /gvariant/serialiser/byteswap 318s # slow test /gvariant/serialiser/byteswap executed in 1.33 secs 318s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 318s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 318s ok 40 /gvariant/serialiser/children 318s # Start of fuzz tests 321s ok 41 /gvariant/serialiser/fuzz/1% 321s # slow test /gvariant/serialiser/fuzz/1% executed in 2.53 secs 321s ok 42 /gvariant/serialiser/fuzz/5% 321s ok 43 /gvariant/serialiser/fuzz/9% 322s # Executing: glib/gvariant.test 322s ok 44 /gvariant/serialiser/fuzz/13% 322s # slow test /gvariant/serialiser/fuzz/13% executed in 0.55 secs 322s ok 45 /gvariant/serialiser/fuzz/17% 322s # End of fuzz tests 322s # End of serialiser tests 322s # Start of varargs tests 322s # Start of subprocess tests 322s # End of subprocess tests 322s # End of varargs tests 322s # Start of byteswap tests 322s # /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. 322s ok 46 /gvariant/byteswap/non-normal-non-aligned 322s # End of byteswap tests 322s # Start of parser tests 322s ok 47 /gvariant/parser/integer-bounds 322s ok 48 /gvariant/parser/recursion 322s # Start of recursion tests 322s ok 49 /gvariant/parser/recursion/typedecls 322s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 322s # Text form 0: @mmmu 5 322s # Text form 1: @mmmas ['hello'] 322s # Text form 2: @mmmu just just nothing 322s # Text form 3: @mmmas just just nothing 322s # Text form 4: @mmmu just nothing 322s # Text form 5: @mmmas just nothing 322s # Text form 6: @mmmu nothing 322s # Text form 7: @mmmas nothing 322s ok 50 /gvariant/parser/recursion/maybes 322s # End of recursion tests 322s # End of parser tests 322s # Start of parse tests 322s # Start of subprocess tests 322s # End of subprocess tests 322s # End of parse tests 322s # Start of normal-checking tests 322s ok 51 /gvariant/normal-checking/tuples 322s ok 52 /gvariant/normal-checking/array-offsets 322s ok 53 /gvariant/normal-checking/array-offsets2 322s ok 54 /gvariant/normal-checking/tuple-offsets 322s ok 55 /gvariant/normal-checking/tuple-offsets2 322s ok 56 /gvariant/normal-checking/tuple-offsets3 322s ok 57 /gvariant/normal-checking/tuple-offsets4 322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 322s ok 58 /gvariant/normal-checking/tuple-offsets5 322s ok 59 /gvariant/normal-checking/empty-object-path 322s # Start of array-offsets tests 322s ok 60 /gvariant/normal-checking/array-offsets/overlapped 322s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 322s # End of array-offsets tests 322s # Start of tuple-offsets tests 322s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 322s # End of tuple-offsets tests 322s # End of normal-checking tests 322s # Start of recursion-limits tests 322s ok 63 /gvariant/recursion-limits/variant-in-variant 322s ok 64 /gvariant/recursion-limits/array-in-variant 322s # End of recursion-limits tests 322s # End of gvariant tests 322s ok - glib/gvariant.test 322s # Running test: glib/macros.test 322s TAP version 14 322s # random seed: R02S9f49c2087fe9985978b9f885a7ef9ed3 322s 1..3 322s # Start of alignof tests 322s ok 1 /alignof/fallback 322s # End of alignof tests 322s # Start of assert tests 322s ok 2 /assert/static 322s # End of assert tests 322s # Start of struct tests 322s ok 3 /struct/sizeof_member 322s # End of struct tests 322s ok - glib/macros.test 322s # Running test: glib/autoptr-girepository.test 322s TAP version 14 322s # random seed: R02S94cbbc62cfe91d759b0499eb64f2da52 322s 1..24 322s # Start of autoptr tests 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/repository/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 1 /autoptr/repository 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/typelib/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 2 /autoptr/typelib 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/base-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 3 /autoptr/base-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/arg-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 4 /autoptr/arg-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/callable-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 5 /autoptr/callable-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/callback-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 6 /autoptr/callback-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/constant-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 7 /autoptr/constant-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/enum-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 8 /autoptr/enum-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/field-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 9 /autoptr/field-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/flags-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 10 /autoptr/flags-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/function-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 11 /autoptr/function-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/interface-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 12 /autoptr/interface-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/object-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 13 /autoptr/object-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/property-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 14 /autoptr/property-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/registered-type-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 15 /autoptr/registered-type-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/signal-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 16 /autoptr/signal-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/struct-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 17 /autoptr/struct-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/type-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 18 /autoptr/type-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/union-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 19 /autoptr/union-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/value-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 20 /autoptr/value-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/autoptr/vfunc-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 21 /autoptr/vfunc-info 322s # End of autoptr tests 322s # Start of auto tests 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/auto/arg-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 22 /auto/arg-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/auto/type-info/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 23 /auto/type-info 322s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/home 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/cache 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/system-config2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/config 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/system-data2 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/data 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/state 322s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_N99JX2/auto/function-invoker/.dirs/runtime 322s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 322s ok 24 /auto/function-invoker 322s # End of auto tests 322s ok - glib/autoptr-girepository.test 322s # Running test: glib/async-splice-output-stream.test 322s TAP version 14 322s # random seed: R02Sa5fd1a29075a5bdc96f5dae60f08fe58 322s 1..5 322s # Start of async-splice tests 322s ok 1 /async-splice/copy-chunks 322s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 322s ok 2 /async-splice/copy-chunks-threaded-input 322s ok 3 /async-splice/copy-chunks-threaded-output 322s ok 4 /async-splice/copy-chunks-threaded 322s ok 5 /async-splice/cancelled 322s # End of async-splice tests 322s ok - glib/async-splice-output-stream.test 322s # Running test: glib/hostutils.test 322s TAP version 14 322s # random seed: R02Sffd4a111ca30d0c3b139fc8ea030512a 322s 1..3 322s # Start of hostutils tests 322s ok 1 /hostutils/to_ascii 322s ok 2 /hostutils/to_unicode 322s ok 3 /hostutils/is_ip_addr 322s # End of hostutils tests 322s ok - glib/hostutils.test 322s # Running test: glib/slist.test 322s TAP version 14 322s # random seed: R02Se74bd9968e645b3bf26f397d5d909faf 322s 1..14 322s # Start of slist tests 322s ok 1 /slist/sort 322s ok 2 /slist/sort-with-data 322s ok 3 /slist/insert-sorted 322s ok 4 /slist/insert-sorted-with-data 322s ok 5 /slist/reverse 322s ok 6 /slist/nth 322s ok 7 /slist/remove 322s ok 8 /slist/remove-all 322s ok 9 /slist/insert 322s ok 10 /slist/position 322s ok 11 /slist/concat 322s ok 12 /slist/copy 322s # Start of sort tests 322s ok 13 /slist/sort/stable 322s # End of sort tests 322s # Start of copy tests 322s ok 14 /slist/copy/deep 322s # End of copy tests 322s # End of slist tests 322s ok - glib/slist.test 322s # Running test: glib/pollable.test 322s TAP version 14 322s # random seed: R02Sf5de663eaf7e7a308c4ea993d0cbef01 322s 1..6 322s # Start of pollable tests 322s ok 1 /pollable/converter 322s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 322s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5c3f31c0b7d0 and GSocketClientAsyncConnectData 0x5c3f31bfead0 322s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 322s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 322s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5c3f31c0c850 for GSocketClientAsyncConnectData 0x5c3f31bfead0 322s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 322s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 322s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 322s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 322s ok 2 /pollable/socket 322s # Start of unix tests 322s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 322s ok 3 /pollable/unix/pipe 322s # /pollable/unix/pty summary: Test that PTYs are considered pollable 322s ok 4 /pollable/unix/pty 322s # /pollable/unix/file summary: Test that regular files are not considered pollable 322s ok 5 /pollable/unix/file 322s # /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 322s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 322s # End of unix tests 322s # End of pollable tests 322s ok - glib/pollable.test 322s # Running test: glib/module-test-plugin.test 322s TAP version 14 322s # random seed: R02S830f30b0581902db5b65b569adc0fa77 322s 1..3 322s # Start of module tests 322s ok 1 /module/basics 322s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 322s ok 2 /module/invalid-libtool-archive 322s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 322s ok 3 /module/local-binding 322s # End of module tests 322s ok - glib/module-test-plugin.test 322s # Running test: glib/cancellable.test 322s TAP version 14 322s # random seed: R02S7f60ca10a2d9ed7d175b7c8e7d61d9d5 322s 1..10 322s # Start of cancellable tests 322s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 322s ok 2 /cancellable/null 322s # /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 322s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 322s # /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 322s ok 4 /cancellable/resets-on-cancel-callback-hangs 322s ok 5 /cancellable/poll-fd 322s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 322s ok 6 /cancellable/poll-fd-cancelled 322s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 323s ok 7 /cancellable/poll-fd-cancelled-threaded 323s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 323s ok 8 /cancellable/cancel-reset-races 323s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 323s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 323s # End of cancellable tests 323s # Start of cancellable-source tests 323s # /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) 323s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 323s ok 10 /cancellable-source/threaded-dispose 323s # slow test /cancellable-source/threaded-dispose executed in 0.80 secs 323s # End of cancellable-source tests 323s ok - glib/cancellable.test 323s # Running test: glib/scannerapi.test 323s TAP version 14 323s # random seed: R02Sc0ec07ca72d39b101c733984d7ce814b 323s 1..4 323s # Start of scanner tests 323s ok 1 /scanner/warn 323s ok 2 /scanner/error 323s ok 3 /scanner/symbols 323s ok 4 /scanner/tokens 323s # End of scanner tests 323s ok - glib/scannerapi.test 323s # Running test: glib/gapplication.test 323s TAP version 14 323s # random seed: R02S7e2baaca74a1543701004333bf7e1a06 323s 1..24 323s # Start of gapplication tests 323s ok 1 /gapplication/no-dbus 323s ok 2 /gapplication/no-appid 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 323s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s ok 3 /gapplication/properties 323s ok 4 /gapplication/app-id 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 323s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s ok 5 /gapplication/quit 323s ok 6 /gapplication/registered 323s ok 7 /gapplication/local-actions 323s ok 8 /gapplication/local-command-line 323s ok 9 /gapplication/resource-path 323s ok 10 /gapplication/test-help 323s ok 11 /gapplication/command-line-done 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 323s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s ok 12 /gapplication/test-busy 323s ok 13 /gapplication/test-handle-local-options1 323s ok 14 /gapplication/test-handle-local-options2 323s ok 15 /gapplication/test-handle-local-options3 323s ok 16 /gapplication/api 323s ok 17 /gapplication/version 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 323s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 323s # launching subprocess 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s ok 18 /gapplication/replace 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 323s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 323s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 323s # launching subprocess 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 19 /gapplication/no-replace 324s # slow test /gapplication/no-replace executed in 0.51 secs 324s # Start of dbus tests 324s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 324s # Message 0 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 1 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 2 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 20 /gapplication/dbus/activate 324s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 324s # Message 0 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 324s # Message 1 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 2 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 3 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 21 /gapplication/dbus/open 324s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 324s # Message 0 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 1 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 2 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 22 /gapplication/dbus/command-line 324s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 23 /gapplication/dbus/command-line-done 324s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 324s # Message 0 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 1 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 2 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 3 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 4 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 5 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 6 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 7 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 8 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 9 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 10 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # Message 11 324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 324s ok 24 /gapplication/dbus/activate-action 324s # End of dbus tests 324s # End of gapplication tests 324s ok - glib/gapplication.test 324s # Running test: glib/vfs.test 324s TAP version 14 324s # random seed: R02S82be8e0506a649c5022615abeae1779d 324s 1..3 324s # Start of gvfs tests 324s ok 1 /gvfs/local 324s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 324s ok 2 /gvfs/register-scheme 324s # Start of resource tests 324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 324s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 324s ok 3 /gvfs/resource/malformed-escaping 324s # End of resource tests 324s # End of gvfs tests 324s ok - glib/vfs.test 324s # Running test: glib/srvtarget.test 324s TAP version 14 324s # random seed: R02Sf7bcd78d2e0273b632ddadf728ac79af 324s 1..1 324s # Start of srvtarget tests 325s ok 1 /srvtarget/srv-target-ordering 325s # slow test /srvtarget/srv-target-ordering executed in 0.51 secs 325s # End of srvtarget tests 325s ok - glib/srvtarget.test 325s # Running test: glib/gmenumodel.test 325s TAP version 14 325s # random seed: R02S222f9bae0c02bd16b45033f69b84656c 325s 1..15 325s # Start of gmenu tests 325s ok 1 /gmenu/equality 325s ok 2 /gmenu/random 325s # slow test /gmenu/random executed in 0.55 secs 325s ok 3 /gmenu/attributes 325s ok 4 /gmenu/links 325s ok 5 /gmenu/mutable 325s ok 6 /gmenu/convenience 325s ok 7 /gmenu/menuitem 325s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 325s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 326s ok 8 /gmenu/input-validation 326s # Start of dbus tests 326s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 327s ok 9 /gmenu/dbus/roundtrip 327s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 327s # Executing: glib/gmenumodel.test 327s ok 10 /gmenu/dbus/subscriptions 328s ok 11 /gmenu/dbus/threaded 328s # slow test /gmenu/dbus/threaded executed in 0.67 secs 328s # Start of peer tests 329s ok 12 /gmenu/dbus/peer/roundtrip 329s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 329s ok 13 /gmenu/dbus/peer/subscriptions 329s # End of peer tests 329s # Start of export tests 329s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 329s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 329s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 329s ok 14 /gmenu/dbus/export/error-handling 329s # End of export tests 329s # End of dbus tests 329s # Start of attributes tests 329s ok 15 /gmenu/attributes/iterate 329s # End of attributes tests 329s # End of gmenu tests 329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 329s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 329s ok - glib/gmenumodel.test 329s # Running test: glib/portal-support-flatpak-none.test 329s TAP version 14 329s # random seed: R02Sb37993bf2bc4f6065b95971620f13e33 329s 1..1 329s # Start of portal-support tests 329s # Start of flatpak tests 329s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/home 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/cache 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/system-config2 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/config 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/system-data2 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/data 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/state 329s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/runtime 329s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_ZLTIX2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 329s ok 1 /portal-support/flatpak/none 329s # End of flatpak tests 329s # End of portal-support tests 329s ok - glib/portal-support-flatpak-none.test 329s # Running test: glib/overflow-fallback.test 329s TAP version 14 329s # random seed: R02S52762d7da82affc0d8f3c06044838e53 329s 1..6 329s # Start of glib tests 329s # Start of checked-math tests 329s ok 1 /glib/checked-math/guint-add 329s ok 2 /glib/checked-math/guint-mul 329s ok 3 /glib/checked-math/guint64-add 329s ok 4 /glib/checked-math/guint64-mul 329s ok 5 /glib/checked-math/gsize-add 329s ok 6 /glib/checked-math/gsize-mul 329s # End of checked-math tests 329s # End of glib tests 329s ok - glib/overflow-fallback.test 329s # Running test: glib/closure-refcount.test 329s TAP version 14 329s # random seed: R02S26128bc9872f9f80289590dadd2145f7 329s 1..1 329s # Start of closure tests 329s # Init 0x5b664be821d0 329s # Yielding from main thread 329s # Yielding from thread1 329s # Yielding from main thread 329s # Yielding from main thread 329s # Yielding from main thread 329s # Yielding from thread1 329s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread2 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from thread1 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 330s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread2 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread1 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread2 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread2 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread1 331s # Yielding from thread2 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from main thread 331s # Yielding from thread1 331s # Yielding from main thread 331s # Yielding from main thread 331s # Stopping 331s # Stopped 331s ok 1 /closure/refcount 331s # slow test /closure/refcount executed in 1.76 secs 331s # End of closure tests 331s ok - glib/closure-refcount.test 331s # Running test: glib/memory-monitor-dbus.test 331s TAP version 13 331s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 331s 1..1 331s ok - glib/memory-monitor-dbus.test 331s # Running test: glib/signal-handler.test 331s TAP version 14 331s # random seed: R02Sa2ecad6352c00bdcbbec0d4a9a6c8919 331s 1..7 331s # Start of signal tests 331s # Start of handler tests 331s # min perf: connected 1 handlers in 0.000 seconds 331s ok 1 /signal/handler/connect-many 331s # min perf: disconnected 1 handlers in 0.000 seconds 331s ok 2 /signal/handler/disconnect-many-ordered 331s # min perf: disconnected 1 handlers in 0.000 seconds 331s ok 3 /signal/handler/disconnect-many-inverse 331s # min perf: disconnected 1 handlers in 0.000 seconds 331s ok 4 /signal/handler/disconnect-many-random 331s # min perf: disconnected 1 handlers in 0.000 seconds 331s ok 5 /signal/handler/disconnect-2-signals 331s # min perf: disconnected 1 handlers in 0.000 seconds 331s ok 6 /signal/handler/disconnect-2-objects 331s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 331s ok 7 /signal/handler/block-many 331s # End of handler tests 331s # End of signal tests 331s ok - glib/signal-handler.test 331s # Running test: glib/gdatetime.test 331s TAP version 14 331s # random seed: R02S251b4e8cb4913eadde48367f208a02b5 331s 1..68 331s # Start of GDateTime tests 331s # Bug Reference: http://bugzilla.gnome.org/702674 331s ok 1 /GDateTime/invalid 331s ok 2 /GDateTime/add_days 331s ok 3 /GDateTime/add_full 331s ok 4 /GDateTime/add_hours 331s ok 5 /GDateTime/add_minutes 331s ok 6 /GDateTime/add_months 331s ok 7 /GDateTime/add_seconds 331s ok 8 /GDateTime/add_weeks 331s ok 9 /GDateTime/add_years 331s ok 10 /GDateTime/compare 331s ok 11 /GDateTime/diff 331s ok 12 /GDateTime/equal 331s ok 13 /GDateTime/get_day_of_week 331s ok 14 /GDateTime/get_day_of_month 331s ok 15 /GDateTime/get_day_of_year 331s ok 16 /GDateTime/get_hour 331s ok 17 /GDateTime/get_microsecond 331s ok 18 /GDateTime/get_minute 331s ok 19 /GDateTime/get_month 331s ok 20 /GDateTime/get_second 331s ok 21 /GDateTime/get_utc_offset 331s ok 22 /GDateTime/get_year 331s ok 23 /GDateTime/hash 331s ok 24 /GDateTime/new_from_unix 331s ok 25 /GDateTime/new_from_unix_utc 331s ok 26 /GDateTime/new_from_timeval 331s ok 27 /GDateTime/new_from_timeval_utc 331s ok 28 /GDateTime/new_from_iso8601 331s ok 29 /GDateTime/new_full 331s ok 30 /GDateTime/now 331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 331s ok 31 /GDateTime/test-6-days-until-end-of-the-month 331s # %a -> expected: Sat 331s # %a -> actual: Sat 331s # %A -> expected: Saturday 331s # %A -> actual: Saturday 331s # %b -> expected: Oct 331s # %b -> actual: Oct 331s # %B -> expected: October 331s # %B -> actual: October 331s # %d -> expected: 24 331s # %d -> actual: 24 331s # %d -> expected: 01 331s # %d -> actual: 01 331s # %e -> expected: 24 331s # %e -> actual: 24 331s # %e -> expected:  1 331s # %e -> actual:  1 331s # %f -> expected: 001000 331s # %f -> actual: 001000 331s # %h -> expected: Oct 331s # %h -> actual: Oct 331s # %H -> expected: 00 331s # %H -> actual: 00 331s # %H -> expected: 15 331s # %H -> actual: 15 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %I -> expected: 03 331s # %I -> actual: 03 331s # %j -> expected: 297 331s # %j -> actual: 297 331s # %k -> expected:  0 331s # %k -> actual:  0 331s # %k -> expected: 13 331s # %k -> actual: 13 331s # %l -> expected: 12 331s # %l -> actual: 12 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %l -> expected:  1 331s # %l -> actual:  1 331s # %l -> expected: 10 331s # %l -> actual: 10 331s # %m -> expected: 10 331s # %m -> actual: 10 331s # %M -> expected: 00 331s # %M -> actual: 00 331s # %p -> expected: AM 331s # %p -> actual: AM 331s # %p -> expected: PM 331s # %p -> actual: PM 331s # %P -> expected: am 331s # %P -> actual: am 331s # %P -> expected: pm 331s # %P -> actual: pm 331s # %r -> expected: 12:00:00 AM 331s # %r -> actual: 12:00:00 AM 331s # %r -> expected: 01:13:13 PM 331s # %r -> actual: 01:13:13 PM 331s # %R -> expected: 00:00 331s # %R -> actual: 00:00 331s # %R -> expected: 13:13 331s # %R -> actual: 13:13 331s # %S -> expected: 00 331s # %S -> actual: 00 331s # %t -> expected: 331s # %t -> actual: 331s # %u -> expected: 6 331s # %u -> actual: 6 331s # %x -> expected: 10/24/09 331s # %x -> actual: 10/24/09 331s # %X -> expected: 00:00:00 331s # %X -> actual: 00:00:00 331s # %X -> expected: 13:14:15 331s # %X -> actual: 13:14:15 331s # %y -> expected: 09 331s # %y -> actual: 09 331s # %Y -> expected: 2009 331s # %Y -> actual: 2009 331s # %% -> expected: % 331s # %% -> actual: % 331s # % -> expected: 331s # % -> actual: 331s # %9 -> expected: (null) 331s # %9 -> actual: (null) 331s # %Z -> expected: UTC 331s # %Z -> actual: UTC 331s ok 32 /GDateTime/printf 331s # %a -> expected: ÅÚ 331s # %a -> actual: ÅÚ 331s # %A -> expected: ÅÚÍËÆü 331s # %A -> actual: ÅÚÍËÆü 331s # %b -> expected: 10·î 331s # %b -> actual: 10·î 331s # %B -> expected: 10·î 331s # %B -> actual: 10·î 331s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 331s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 331s # %C -> expected: 20 331s # %C -> actual: 20 331s # %d -> expected: 24 331s # %d -> actual: 24 331s # %d -> expected: 01 331s # %d -> actual: 01 331s # %e -> expected: 24 331s # %e -> actual: 24 331s # %h -> expected: 10·î 331s # %h -> actual: 10·î 331s # %H -> expected: 00 331s # %H -> actual: 00 331s # %H -> expected: 15 331s # %H -> actual: 15 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %I -> expected: 03 331s # %I -> actual: 03 331s # %j -> expected: 297 331s # %j -> actual: 297 331s # %k -> expected: ?0 331s # %k -> actual: ?0 331s # %k -> expected: 13 331s # %k -> actual: 13 331s # %l -> expected: 12 331s # %l -> actual: 12 331s # %I -> expected: 12 331s # %I -> actual: 12 331s # %l -> expected: ?1 331s # %l -> actual: ?1 331s # %l -> expected: 10 331s # %l -> actual: 10 331s # %m -> expected: 10 331s # %m -> actual: 10 331s # %M -> expected: 00 331s # %M -> actual: 00 331s # %p -> expected: ¸áÁ° 331s # %p -> actual: ¸áÁ° 331s # %p -> expected: ¸á¸å 331s # %p -> actual: ¸á¸å 331s # %P -> expected: ¸áÁ° 331s # %P -> actual: ¸áÁ° 331s # %P -> expected: ¸á¸å 331s # %P -> actual: ¸á¸å 331s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 331s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 331s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 331s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 331s # %R -> expected: 00:00 331s # %R -> actual: 00:00 331s # %R -> expected: 13:13 331s # %R -> actual: 13:13 331s # %S -> expected: 00 331s # %S -> actual: 00 331s # %t -> expected: 331s # %t -> actual: 331s # %u -> expected: 6 331s # %u -> actual: 6 331s # %x -> expected: 2009ǯ10·î24Æü 331s # %x -> actual: 2009ǯ10·î24Æü 331s # %X -> expected: 00»þ00ʬ00Éà 331s # %X -> actual: 00»þ00ʬ00Éà 331s # %X -> expected: 13»þ14ʬ15Éà 331s # %X -> actual: 13»þ14ʬ15Éà 331s # %y -> expected: 09 331s # %y -> actual: 09 331s # %Y -> expected: 2009 331s # %Y -> actual: 2009 331s # %% -> expected: % 331s # %% -> actual: % 331s # % -> expected: 331s # % -> actual: 331s # %9 -> expected: (null) 331s # %9 -> actual: (null) 331s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 331s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 331s # %EC -> expected: Ê¿À® 331s # %EC -> actual: Ê¿À® 331s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 331s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 331s # %EX -> expected: 00»þ00ʬ00Éà 331s # %EX -> actual: 00»þ00ʬ00Éà 331s # %Ey -> expected: 21 331s # %Ey -> actual: 21 331s # %EY -> expected: Ê¿À®21ǯ 331s # %EY -> actual: Ê¿À®21ǯ 331s ok 33 /GDateTime/non_utf8_printf 331s # ???? -> expected: ???? 331s # ???? -> actual: ???? 331s # %H?%M -> expected: 23?15 331s # %H?%M -> actual: 23?15 331s # %H?%M -> expected: 23?15 331s # %H?%M -> actual: 23?15 331s ok 34 /GDateTime/format_unrepresentable 331s ok 35 /GDateTime/format_iso8601 331s ok 36 /GDateTime/strftime 331s # %d -> expected: 01 331s # %d -> actual: 01 331s # %_d -> expected: 1 331s # %_d -> actual: 1 331s # %-d -> expected: 1 331s # %-d -> actual: 1 331s # %0d -> expected: 01 331s # %0d -> actual: 01 331s # %d -> expected: 21 331s # %d -> actual: 21 331s # %_d -> expected: 21 331s # %_d -> actual: 21 331s # %-d -> expected: 21 331s # %-d -> actual: 21 331s # %0d -> expected: 21 331s # %0d -> actual: 21 331s # %e -> expected:  1 331s # %e -> actual:  1 331s # %_e -> expected: 1 331s # %_e -> actual: 1 331s # %-e -> expected: 1 331s # %-e -> actual: 1 331s # %0e -> expected: 01 331s # %0e -> actual: 01 331s # %e -> expected: 21 331s # %e -> actual: 21 331s # %_e -> expected: 21 331s # %_e -> actual: 21 331s # %-e -> expected: 21 331s # %-e -> actual: 21 331s # %0e -> expected: 21 331s # %0e -> actual: 21 331s # %a -> expected: Thu 331s # %a -> actual: Thu 331s # %^a -> expected: THU 331s # %^a -> actual: THU 331s # %#a -> expected: THU 331s # %#a -> actual: THU 331s # %A -> expected: Thursday 331s # %A -> actual: Thursday 331s # %^A -> expected: THURSDAY 331s # %^A -> actual: THURSDAY 331s # %#A -> expected: THURSDAY 331s # %#A -> actual: THURSDAY 331s # %b -> expected: Jan 331s # %b -> actual: Jan 331s # %^b -> expected: JAN 331s # %^b -> actual: JAN 331s # %#b -> expected: JAN 331s # %#b -> actual: JAN 331s # %B -> expected: January 331s # %B -> actual: January 331s # %^B -> expected: JANUARY 331s # %^B -> actual: JANUARY 331s # %#B -> expected: JANUARY 331s # %#B -> actual: JANUARY 331s # %h -> expected: Jan 331s # %h -> actual: Jan 331s # %^h -> expected: JAN 331s # %^h -> actual: JAN 331s # %#h -> expected: JAN 331s # %#h -> actual: JAN 331s # %Z -> expected: UTC 331s # %Z -> actual: UTC 331s # %^Z -> expected: UTC 331s # %^Z -> actual: UTC 331s # %#Z -> expected: utc 331s # %#Z -> actual: utc 331s # %H -> expected: 01 331s # %H -> actual: 01 331s # %_H -> expected: 1 331s # %_H -> actual: 1 331s # %-H -> expected: 1 331s # %-H -> actual: 1 331s # %0H -> expected: 01 331s # %0H -> actual: 01 331s # %H -> expected: 21 331s # %H -> actual: 21 331s # %_H -> expected: 21 331s # %_H -> actual: 21 331s # %-H -> expected: 21 331s # %-H -> actual: 21 331s # %0H -> expected: 21 331s # %0H -> actual: 21 331s # %I -> expected: 01 331s # %I -> actual: 01 331s # %_I -> expected: 1 331s # %_I -> actual: 1 331s # %-I -> expected: 1 331s # %-I -> actual: 1 331s # %0I -> expected: 01 331s # %0I -> actual: 01 331s # %I -> expected: 11 331s # %I -> actual: 11 331s # %_I -> expected: 11 331s # %_I -> actual: 11 331s # %-I -> expected: 11 331s # %-I -> actual: 11 331s # %0I -> expected: 11 331s # %0I -> actual: 11 331s # %k -> expected:  1 331s # %k -> actual:  1 331s # %_k -> expected: 1 331s # %_k -> actual: 1 331s # %-k -> expected: 1 331s # %-k -> actual: 1 331s # %0k -> expected: 01 331s # %0k -> actual: 01 331s # %l -> expected:  1 331s # %l -> actual:  1 331s # %_l -> expected: 1 331s # %_l -> actual: 1 331s # %-l -> expected: 1 331s # %-l -> actual: 1 331s # %0l -> expected: 01 331s # %0l -> actual: 01 331s # %l -> expected: 11 331s # %l -> actual: 11 331s # %_l -> expected: 11 331s # %_l -> actual: 11 331s # %-l -> expected: 11 331s # %-l -> actual: 11 331s # %0l -> expected: 11 331s # %0l -> actual: 11 331s # %p -> expected: AM 331s # %p -> actual: AM 331s # %^p -> expected: AM 331s # %^p -> actual: AM 331s # %#p -> expected: am 331s # %#p -> actual: am 331s # %P -> expected: am 331s # %P -> actual: am 331s # %^P -> expected: AM 331s # %^P -> actual: AM 331s # %#P -> expected: am 331s # %#P -> actual: am 331s # %OH -> expected: Û²Û³ 331s # %OH -> actual: Û²Û³ 331s # %OI -> expected: Û±Û± 331s # %OI -> actual: Û±Û± 331s # %OM -> expected: Û°Û° 331s # %OM -> actual: Û°Û° 331s # %Om -> expected: Û°Û· 331s # %Om -> actual: Û°Û· 331s # %0Om -> expected: Û°Û· 331s # %0Om -> actual: Û°Û· 331s # %-Om -> expected: Û· 331s # %-Om -> actual: Û· 331s # %_Om -> expected: Û· 331s # %_Om -> actual: Û· 331s # %c -> expected: thu 01 jan 2009 00:00:00 utc 331s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 331s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 331s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 331s # %C -> expected: 20 331s # %C -> actual: 20 331s # %EC -> expected: 20 331s # %EC -> actual: 20 331s # %x -> expected: 02/01/09 331s # %x -> actual: 02/01/09 331s # %Ex -> expected: 02/01/09 331s # %Ex -> actual: 02/01/09 331s # %X -> expected: 01:02:03 331s # %X -> actual: 01:02:03 331s # %EX -> expected: 01:02:03 331s # %EX -> actual: 01:02:03 331s # %y -> expected: 09 331s # %y -> actual: 09 331s # %Ey -> expected: 09 331s # %Ey -> actual: 09 331s # %Y -> expected: 2009 331s # %Y -> actual: 2009 331s # %EY -> expected: 2009 331s # %EY -> actual: 2009 331s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 331s # Bug Reference: http://bugzilla.gnome.org/749206 331s # %B -> expected: January 331s # %B -> actual: January 331s # %OB -> expected: February 331s # %OB -> actual: February 331s # %b -> expected: Mar 331s # %b -> actual: Mar 331s # %Ob -> expected: Apr 331s # %Ob -> actual: Apr 331s # %h -> expected: May 331s # %h -> actual: May 331s # %Oh -> expected: Jun 331s # %Oh -> actual: Jun 331s # %B -> expected: Juli 331s # %B -> actual: Juli 331s # %OB -> expected: August 331s # %OB -> actual: August 331s # %b -> expected: Sep 331s # %b -> actual: Sep 331s # %Ob -> expected: Okt 331s # %Ob -> actual: Okt 331s # %h -> expected: Nov 331s # %h -> actual: Nov 331s # %Oh -> expected: Dez 331s # %Oh -> actual: Dez 331s # %B -> expected: enero 331s # %B -> actual: enero 331s # %OB -> expected: febrero 331s # %OB -> actual: febrero 331s # %b -> expected: mar 331s # %b -> actual: mar 331s # %Ob -> expected: abr 331s # %Ob -> actual: abr 331s # %h -> expected: may 331s # %h -> actual: may 331s # %Oh -> expected: jun 331s # %Oh -> actual: jun 331s # %B -> expected: juillet 331s # %B -> actual: juillet 331s # %OB -> expected: août 331s # %OB -> actual: août 331s # %b -> expected: sept. 331s # %b -> actual: sept. 331s # %Ob -> expected: oct. 331s # %Ob -> actual: oct. 331s # %h -> expected: nov. 331s # %h -> actual: nov. 331s # %Oh -> expected: déc. 331s # %Oh -> actual: déc. 331s # %B -> expected: ΙανουαÏίου 331s # %B -> actual: ΙανουαÏίου 331s # %B -> expected: ΦεβÏουαÏίου 331s # %B -> actual: ΦεβÏουαÏίου 331s # %B -> expected: ΜαÏτίου 331s # %B -> actual: ΜαÏτίου 331s # %OB -> expected: ΑπÏίλιος 331s # %OB -> actual: ΑπÏίλιος 331s # %OB -> expected: Μάιος 331s # %OB -> actual: Μάιος 331s # %OB -> expected: ΙοÏνιος 331s # %OB -> actual: ΙοÏνιος 331s # %b -> expected: Ιουλ 331s # %b -> actual: Ιουλ 331s # %Ob -> expected: ΑÏγ 331s # %Ob -> actual: ΑÏγ 331s # %B -> expected: svibnja 331s # %B -> actual: svibnja 331s # %B -> expected: lipnja 331s # %B -> actual: lipnja 331s # %B -> expected: srpnja 331s # %B -> actual: srpnja 331s # %OB -> expected: Kolovoz 331s # %OB -> actual: kolovoz 331s # %OB -> expected: Rujan 331s # %OB -> actual: rujan 331s # %OB -> expected: Listopad 331s # %OB -> actual: listopad 331s # %b -> expected: Stu 331s # %b -> actual: stu 331s # %Ob -> expected: Pro 331s # %Ob -> actual: pro 331s # %B -> expected: sausio 331s # %B -> actual: sausio 331s # %B -> expected: vasario 331s # %B -> actual: vasario 331s # %B -> expected: kovo 331s # %B -> actual: kovo 331s # %OB -> expected: balandis 331s # %OB -> actual: balandis 331s # %OB -> expected: gegužė 331s # %OB -> actual: gegužė 331s # %OB -> expected: birželis 331s # %OB -> actual: birželis 331s # %b -> expected: liep. 331s # %b -> actual: liep. 331s # %Ob -> expected: rugp. 331s # %Ob -> actual: rugp. 331s # %B -> expected: maja 331s # %B -> actual: maja 331s # %B -> expected: czerwca 331s # %B -> actual: czerwca 331s # %B -> expected: lipca 331s # %B -> actual: lipca 331s # %OB -> expected: sierpieÅ„ 331s # %OB -> actual: sierpieÅ„ 331s # %OB -> expected: wrzesieÅ„ 331s # %OB -> actual: wrzesieÅ„ 331s # %OB -> expected: październik 331s # %OB -> actual: październik 331s # %b -> expected: lis 331s # %b -> actual: lis 331s # %Ob -> expected: gru 331s # %Ob -> actual: gru 331s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 331s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 331s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 331s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 331s # %B -> expected: марта 331s # %B -> actual: марта 331s # %OB -> expected: Ðпрель 331s # %OB -> actual: Ðпрель 331s # %OB -> expected: Май 331s # %OB -> actual: Май 331s # %OB -> expected: Июнь 331s # %OB -> actual: Июнь 331s # %b -> expected: июл 331s # %b -> actual: июл 331s # %Ob -> expected: авг 331s # %Ob -> actual: авг 331s # %b -> expected: Ð¼Ð°Ñ 331s # %b -> actual: Ð¼Ð°Ñ 331s # %Ob -> expected: май 331s # %Ob -> actual: май 331s ok 38 /GDateTime/month_names 331s ok 39 /GDateTime/to_local 331s ok 40 /GDateTime/to_unix 331s ok 41 /GDateTime/to_timeval 331s ok 42 /GDateTime/to_utc 331s ok 43 /GDateTime/now_utc 331s ok 44 /GDateTime/dst 331s # Bug Reference: http://bugzilla.gnome.org/642935 331s ok 45 /GDateTime/test_z 332s # Executing: glib/gdatetime.test 332s ok 46 /GDateTime/test-all-dates 332s # slow test /GDateTime/test-all-dates executed in 0.80 secs 332s ok 47 /GDateTime/unix_usec 332s # Start of new_from_unix tests 332s # Bug Reference: http://bugzilla.gnome.org/782089 332s ok 48 /GDateTime/new_from_unix/overflow 332s # End of new_from_unix tests 332s # Start of new_from_timeval tests 332s # Bug Reference: http://bugzilla.gnome.org/782089 332s # Maximum supported GTimeVal.tv_sec = 253402300799 332s ok 49 /GDateTime/new_from_timeval/overflow 332s # End of new_from_timeval tests 332s # Start of new_from_iso8601 tests 332s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 332s # Vector 0: 1990-11-01T10:21:17Z 332s # Vector 1: 19901101T102117Z 332s # Vector 2: 1970-01-01T00:00:17.12Z 332s # Vector 3: 1970-01-01T00:00:17.1234Z 332s # Vector 4: 1970-01-01T00:00:17.123456Z 332s # Vector 5: 1980-02-22T12:36:00+02:00 332s # Vector 6: 1990-12-31T15:59:60-08:00 332s # Vector 7: 332s # Vector 8: x 332s # Vector 9: 123x 332s # Vector 10: 2001-10+x 332s # Vector 11: 1980-02-22T 332s # Vector 12: 2001-10-08Tx 332s # Vector 13: 2001-10-08T10:11x 332s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 332s # Vector 15: 1980-02-22T10:36:00Zulu 332s # Vector 16: 2T0+819855292164632335 332s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 332s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 332s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 332s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 332s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 332s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 332s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 332s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 332s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 332s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 332s # Vector 27: 20180803T140805.446178377+0100 332s # Vector 28: 21474836480803T140805.446178377+0100 332s # Vector 29: 20181303T140805.446178377+0100 332s # Vector 30: 20180003T140805.446178377+0100 332s # Vector 31: 20180800T140805.446178377+0100 332s # Vector 32: 20180832T140805.446178377+0100 332s # Vector 33: 20180803T240805.446178377+0100 332s # Vector 34: 20180803T146005.446178377+0100 332s # Vector 35: 20180803T140863.446178377+0100 332s # Vector 36: 20180803T140805.446178377+10000 332s # Vector 37: -0005-01-01T00:00:00Z 332s # Vector 38: 2018-08-06 332s # Vector 39: 20180803T140805,446178377+0100 332s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 332s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 332s # Vector 42: 1990-11-01T10:21:17 332s # Vector 43: 1719W462 407777-07 332s # Vector 44: 4011090 260528Z 332s # Vector 45: 0000W011 228214-22 332s ok 50 /GDateTime/new_from_iso8601/2 332s # End of new_from_iso8601 tests 332s # Start of format_mixed tests 332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 332s # %b -> expected: mar 332s # %b -> actual: Mar 332s # %B -> expected: march 332s # %B -> actual: March 332s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 332s # %b -> expected: mar 332s # %b -> actual: Mar 332s # %B -> expected: march 332s # %B -> actual: March 332s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 332s # %b -> expected: Mär 332s # %b -> actual: Mär 332s # %B -> expected: März 332s # %B -> actual: März 332s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 332s # %b -> expected: Mär 332s # %b -> actual: Mär 332s # %B -> expected: März 332s # %B -> actual: März 332s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 332s # End of format_mixed tests 332s # Start of strftime tests 332s # %r -> expected: (null) 332s # %r -> actual: (null) 332s ok 55 /GDateTime/strftime/error_handling 332s # End of strftime tests 332s # Start of eras tests 332s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 332s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 332s # %EC -> expected: 令和 332s # %EC -> actual: 令和 332s # %Ex -> expected: 令和05å¹´06月01æ—¥ 332s # %Ex -> actual: 令和05å¹´06月01æ—¥ 332s # %EX -> expected: 00時00分00秒 332s # %EX -> actual: 00時00分00秒 332s # %Ey -> expected: 05 332s # %Ey -> actual: 05 332s # %EY -> expected: 令和05å¹´ 332s # %EY -> actual: 令和05å¹´ 332s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 332s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 332s # %EC -> expected: å¹³æˆ 332s # %EC -> actual: å¹³æˆ 332s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 332s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 332s # %EX -> expected: 00時00分00秒 332s # %EX -> actual: 00時00分00秒 332s # %Ey -> expected: 31 332s # %Ey -> actual: 31 332s # %EY -> expected: å¹³æˆ31å¹´ 332s # %EY -> actual: å¹³æˆ31å¹´ 332s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 332s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 332s # %EC -> expected: 昭和 332s # %EC -> actual: 昭和 332s # %Ex -> expected: 昭和元年12月25æ—¥ 332s # %Ex -> actual: 昭和元年12月25æ—¥ 332s # %EX -> expected: 00時00分00秒 332s # %EX -> actual: 00時00分00秒 332s # %Ey -> expected: 01 332s # %Ey -> actual: 01 332s # %EY -> expected: 昭和元年 332s # %EY -> actual: 昭和元年 332s ok 56 /GDateTime/eras/japan 332s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 332s # Vector 0: 332s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 332s # 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å¹´ 332s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 332s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 332s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 8: + 332s # Vector 9: +: 332s # Vector 10: +:: 332s # Vector 11: +:200 332s # Vector 12: +:2nonsense 332s # Vector 13: +:2nonsense: 332s # Vector 14: +:2: 332s # Vector 15: +:2:: 332s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 332s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 332s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 332s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 332s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 332s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 332s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 332s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 332s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 332s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 332s # Vector 28: +:2:2020/01/01 332s # Vector 29: +:2:2020/01/01: 332s # Vector 30: +:2:2020/01/01:: 332s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 332s # Vector 32: +:2:2020/01/01:+* 332s # Vector 33: +:2:2020/01/01:+*: 332s # Vector 34: +:2:2020/01/01:+*:: 332s # Vector 35: +:2:2020/01/01:+*:令和 332s # Vector 36: +:2:2020/01/01:+*:令和: 332s # Vector 37: +:2:2020/01/01:+*:令和:; 332s ok 58 /GDateTime/eras/parsing 332s # End of eras tests 332s # End of GDateTime tests 332s # Start of GTimeZone tests 332s ok 59 /GTimeZone/find-interval 332s ok 60 /GTimeZone/adjust-time 332s ok 61 /GTimeZone/no-header 332s ok 62 /GTimeZone/no-header-identifier 332s ok 63 /GTimeZone/posix-parse 332s # Bug Reference: http://bugzilla.gnome.org/697715 332s ok 64 /GTimeZone/floating-point 332s # System time zone identifier: Etc/UTC 332s ok 65 /GTimeZone/identifier 332s # Vector 0: -158400 332s # Vector 1: -10000 332s # Vector 2: -3600 332s # Vector 3: -61 332s # Vector 4: -60 332s # Vector 5: -59 332s # Vector 6: 0 332s # Vector 7: 59 332s # Vector 8: 60 332s # Vector 9: 61 332s # Vector 10: 3600 332s # Vector 11: 10000 332s # Vector 12: 158400 332s ok 66 /GTimeZone/new-offset 332s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 332s ok 67 /GTimeZone/parse-rfc8536 332s # /GTimeZone/caching summary: GTimeZone instances are cached 332s ok 68 /GTimeZone/caching 332s # End of GTimeZone tests 332s ok - glib/gdatetime.test 332s # Running test: glib/collate.test 332s TAP version 14 332s # random seed: R02S77b118453d2d416cc51947ae8ff14db2 332s 1..9 332s # Start of unicode tests 332s # Start of collate tests 332s ok 1 /unicode/collate/0 332s ok 2 /unicode/collate/1 332s ok 3 /unicode/collate/2 332s # End of collate tests 332s # Start of collate-key tests 332s ok 4 /unicode/collate-key/0 332s ok 5 /unicode/collate-key/1 332s ok 6 /unicode/collate-key/2 332s # End of collate-key tests 332s # Start of collate-filename tests 332s ok 7 /unicode/collate-filename/0 332s ok 8 /unicode/collate-filename/1 332s ok 9 /unicode/collate-filename/2 332s # End of collate-filename tests 332s # End of unicode tests 332s ok - glib/collate.test 332s # Running test: glib/properties-refcount1.test 332s TAP version 14 332s # random seed: R02S3d81d60fb247de6b8633feef8ac6b286 332s 1..1 332s # Start of gobject tests 332s # Start of refcount tests 332s # .f 332s # .e 332s # .b 332s # .c 332s # .d 332s # .b 332s # .e 332s # .f 332s # .b 332s # .d 332s # .c 332s # .e 332s # .b 332s # .f 332s # .d 332s # .e 332s # .c 332s # .b 332s # .f 332s # .e 332s # .c 332s # .d 332s # .b 332s # .f 332s # .e 332s # .c 332s # .f 332s # .d 332s # .b 332s # .c 332s # .f 332s # .e 332s # .d 332s # .f 332s # .b 332s # .c 332s # .e 332s # .d 332s # .b 332s # .f 333s # .c 333s # .e 333s # .b 333s # .d 333s # .f 333s # .e 333s # .c 333s # .b 333s # .d 333s # .f 333s # .e 333s # .d 333s # .c 333s # .f 333s # .b 333s # .d 333s # .f 333s # .e 333s # .c 333s # .b 333s # .d 333s # .f 333s # .c 333s # .e 333s # .b 333s # .f 333s # .c 333s # .d 333s # .e 333s # .c 333s # .b 333s # .f 333s # .d 333s # .c 333s # .b 333s # .e 333s # .d 333s # .f 333s # .e 333s # .c 333s # .b 333s # .d 333s # .f 333s # .c 333s # .b 333s # .e 333s # .c 333s # .f 333s # .b 333s # .d 333s # .e 333s # .c 333s # .b 333s # .f 333s # .d 333s # .c 333s # .e 333s # .b 333s # .f 333s # .d 333s # .e 333s # .c 333s # .b 333s # .f 333s # .e 333s # .d 333s # .b 333s # .c 333s # .f 333s # .e 333s # .b 333s # .d 333s # .c 333s # .f 333s # .e 333s # .b 333s # .f 333s # .d 333s # .c 333s # .b 333s # .e 333s # .f 333s # .d 333s # .b 333s # .c 333s # .f 333s # .e 333s # .b 333s # .f 333s # .c 333s # .d 333s # .e 333s # .f 333s # .b 333s # .c 333s # .d 333s # .e 333s # .f 333s # .b 333s # .c 333s # .e 333s # .d 333s # .f 333s # .b 333s # .c 333s # .e 333s # .f 333s # .c 333s # .b 333s # .d 333s # .e 333s # .f 333s # .b 333s # .d 333s # .c 333s # .f 333s # .e 333s # .b 333s # .d 333s # .f 333s # .c 333s # .b 333s # .e 333s # .f 333s # .d 333s # .b 333s # .c 333s # .e 333s # .f 333s # .d 333s # .c 333s # .d 333s # .b 333s # .d 333s # .f 333s # .e 333s # .c 333s # .f 333s # .d 333s # .b 333s # .e 333s # .f 333s # .c 333s # .d 333s # .e 334s # .b 334s # .c 334s # .f 334s # .e 334s # .d 334s # .c 334s # .b 334s # .e 334s # .f 334s # .c 334s # .d 334s # .e 334s # .f 334s # .d 334s # .c 334s # .b 334s # .f 334s # .d 334s # .e 334s # .b 334s # .c 334s # .f 334s # .e 334s # .b 334s # .d 334s # .c 334s # .e 334s # .f 334s # .b 334s # .d 334s # .c 334s # .e 334s # .f 334s # .d 334s # .c 334s # .b 334s # .c 334s # .e 334s # .f 334s # .d 334s # .c 334s # .b 334s # .d 334s # .f 334s # .e 334s # .c 334s # .d 334s # .f 334s # .e 334s # .b 334s # .c 334s # .f 334s # .d 334s # .f 334s # .e 334s # .f 334s # .b 334s # .f 334s # .c 334s # .d 334s # .e 334s # .c 334s # .f 334s # .d 334s # .b 334s # .f 334s # .c 334s # .e 334s # .f 334s # .d 334s # .c 334s # .b 334s # .f 334s # .e 334s # .c 334s # .d 334s # .f 334s # .b 334s # .e 334s # .c 334s # .f 334s # .d 334s # .b 334s # .e 334s # .c 334s # .d 334s # .e 334s # .f 334s # .b 334s # .c 334s # .d 334s # .e 334s # .c 334s # .f 334s # .b 334s # .d 334s # .c 334s # .e 334s # .f 334s # .b 334s # .d 334s # .c 334s # .f 334s # .b 334s # .e 334s # .d 334s # .f 334s # .c 334s # .d 334s # .b 334s # .f 334s # .e 334s # .c 334s # .d 334s # .b 334s # .c 334s # .f 334s # .d 334s # .e 334s # .b 334s # .c 334s # .e 334s # .f 334s # .d 334s # .b 334s # .e 334s # .c 334s # .d 334s # .f 334s # .b 334s # .c 334s # .d 334s # .e 334s # .f 334s # .c 334s # .d 334s # .b 334s # .f 334s # .e 334s # .c 334s # .b 334s # .d 334s # .f 334s # .f 334s # .b 334s # .e 334s # .c 334s # .d 335s # .f 335s # .b 335s # .e 335s # .c 335s # .d 335s # .f 335s # .b 335s # .e 335s # .d 335s # .c 335s # .f 335s # .e 335s # .d 335s # .b 335s # .c 335s # .e 335s # .f 335s # .d 335s # .b 335s # .c 335s # .e 335s # .c 335s # .b 335s # .f 335s # .d 335s # .f 335s # .b 335s # .d 335s # .e 335s # .c 335s # .f 335s # .d 335s # .b 335s # .c 335s # .f 335s # .e 335s # .c 335s # .d 335s # .b 335s # .f 335s # .c 335s # .e 335s # .b 335s # .d 335s # .e 335s # .c 335s # .f 335s # .d 335s # .e 335s # .c 335s # .b 335s # .d 335s # .e 335s # .f 335s # .c 335s # .d 335s # .e 335s # .b 335s # .f 335s # .d 335s # .c 335s # .e 335s # .b 335s # .f 335s # .c 335s # .d 335s # .f 335s # .e 335s # .c 335s # .b 335s # .d 335s # .f 335s # .b 335s # .e 335s # .d 335s # .c 335s # .f 335s # .d 335s # .b 335s # .e 335s # .c 335s # .f 335s # .e 335s # .d 335s # .c 335s # .b 335s # .e 335s # .f 335s # .c 335s # .d 335s # .b 335s # .f 335s # .e 335s # .c 335s # .d 335s # .b 335s # .f 335s ok 1 /gobject/refcount/properties-1 335s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 335s # End of refcount tests 335s # End of gobject tests 335s ok - glib/properties-refcount1.test 335s # Running test: glib/thumbnail-verification.test 335s TAP version 14 335s # random seed: R02S682b4428a1713269b13f935a38873446 335s 1..1 335s # Start of png-thumbs tests 335s ok 1 /png-thumbs/validity 335s # End of png-thumbs tests 335s ok - glib/thumbnail-verification.test 335s # Running test: glib/gdbus-auth.test 335s TAP version 14 335s # random seed: R02S6851a93dd4a4e567ba01ca18466a3e9c 335s 1..5 335s # Start of gdbus tests 335s # Start of auth tests 335s # Start of client tests 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/EXTERNAL/.dirs/runtime 335s ok 1 /gdbus/auth/client/EXTERNAL 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 335s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 335s # End of client tests 335s # Start of server tests 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 335s ok 3 /gdbus/auth/server/ANONYMOUS 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/EXTERNAL/.dirs/runtime 335s ok 4 /gdbus/auth/server/EXTERNAL 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MRUJX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 335s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 335s # End of server tests 335s # End of auth tests 335s # End of gdbus tests 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s ok - glib/gdbus-auth.test 335s # Running test: glib/io-stream.test 335s TAP version 14 335s # random seed: R02Sbaf8988f0e3e1076d94c13835f49cc06 335s 1..3 335s # Start of io-stream tests 335s ok 1 /io-stream/copy-chunks 335s # Start of close tests 335s # Start of async tests 335s ok 2 /io-stream/close/async/memory 335s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 335s ok 3 /io-stream/close/async/file 335s # End of async tests 335s # End of close tests 335s # End of io-stream tests 335s ok - glib/io-stream.test 335s # Running test: glib/list.test 335s TAP version 14 335s # random seed: R02Sa34db5b84fad6c97fb2a9b566c209178 335s 1..20 335s # Start of list tests 335s ok 1 /list/sort 335s ok 2 /list/sort-with-data 335s ok 3 /list/insert-before-link 335s ok 4 /list/insert-sorted 335s ok 5 /list/insert-sorted-with-data 335s ok 6 /list/reverse 335s ok 7 /list/nth 335s ok 8 /list/concat 335s ok 9 /list/remove 335s ok 10 /list/remove-all 335s ok 11 /list/first-last 335s ok 12 /list/insert 335s ok 13 /list/free-full 335s ok 14 /list/copy 335s ok 15 /list/copy-deep 335s ok 16 /list/delete-link 335s ok 17 /list/prepend 335s ok 18 /list/position 335s ok 19 /list/double-free 335s # Start of sort tests 335s ok 20 /list/sort/stable 335s # End of sort tests 335s # End of list tests 335s ok - glib/list.test 335s # Running test: glib/utils-c-17.test 335s TAP version 14 335s # random seed: R02S023810426be0f3ec2a2eda13536f60ba 335s 1..40 335s # Start of utils tests 335s ok 1 /utils/language-names 335s ok 2 /utils/locale-variants 335s ok 3 /utils/version 335s ok 4 /utils/appname 335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 335s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 335s ok 5 /utils/prgname-thread-safety 335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 335s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 335s ok 6 /utils/tmpdir 335s ok 7 /utils/basic_bits 335s ok 8 /utils/bits 335s ok 9 /utils/swap 335s ok 10 /utils/find-program 335s ok 11 /utils/find-program-for-path 335s ok 12 /utils/debug 335s ok 13 /utils/codeset 335s ok 14 /utils/codeset2 335s ok 15 /utils/console-charset 335s ok 16 /utils/gettext 335s ok 17 /utils/username 335s ok 18 /utils/realname 335s ok 19 /utils/hostname 335s ok 20 /utils/xdgdirs 335s ok 21 /utils/specialdir 335s # NAME: Ubuntu 335s ok 22 /utils/os-info 335s ok 23 /utils/clear-pointer 335s ok 24 /utils/clear-pointer-cast 335s ok 25 /utils/take-pointer 335s ok 26 /utils/clear-source 335s ok 27 /utils/misc-mem 335s # /utils/aligned-mem summary: Aligned memory allocator 335s # Alignment must not be zero 335s # Alignment must be a power of two 335s # Alignment must be a multiple of sizeof(void*) 335s ok 28 /utils/aligned-mem 335s # /utils/free-sized summary: Check that g_free_sized() works 335s ok 29 /utils/free-sized 335s ok 30 /utils/nullify 335s ok 31 /utils/atexit 335s ok 32 /utils/check-setuid 335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 335s ok 33 /utils/int-limits 335s ok 34 /utils/clear-list 335s ok 35 /utils/clear-slist 335s # Start of specialdir tests 335s ok 36 /utils/specialdir/desktop 335s # End of specialdir tests 335s # Start of clear-pointer tests 335s ok 37 /utils/clear-pointer/side-effects 335s # End of clear-pointer tests 335s # Start of aligned-mem tests 335s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 335s ok 38 /utils/aligned-mem/alignment 335s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 335s ok 39 /utils/aligned-mem/zeroed 335s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 335s ok 40 /utils/aligned-mem/free-sized 335s # Start of subprocess tests 335s # End of subprocess tests 335s # End of aligned-mem tests 335s # End of utils tests 335s ok - glib/utils-c-17.test 335s # Running test: glib/g-file.test 335s TAP version 14 335s # random seed: R02S0d9d6425c15687b306f64fb5e5b21189 335s 1..8 335s # Start of g-file tests 335s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 335s ok 1 /g-file/test_g_file_new_null 335s ok 2 /g-file/test_g_file_new_for_path 335s ok 3 /g-file/test_g_file_new_for_uri 335s ok 4 /g-file/test_g_file_dup 335s ok 5 /g-file/test_g_file_get_parse_name_utf8 335s file:///tmp/test-tmp-glib_g-file.test-KT5KX2 335s file:///tmp 335s file:///tmp 335s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 335s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 335s ok 6 /g-file/test_g_file_new_for_commandline_arg 335s /dir1 /dir1/dir2/dir3/ 335s /dir1/ /dir1/dir2/dir3/ 335s /dir1 /dir1/dir2/dir3 335s /dir1/ /dir1/dir2/dir3 335s /tmp/ /something/ 335s /dir1/dir2 /dir1/ 335s //dir1/new //dir1/new/dir2/dir3 335s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 335s file:///dir1 file:///dir1/dir2/dir3/ 335s file:///dir1/ file:///dir1/dir2/dir3/ 335s file:///dir1 file:///dir1/dir2/dir3 335s file:///dir1/ file:///dir1/dir2/dir3 335s file:///tmp/ file:///something/ 335s file:///dir1/dir2 file:///dir1/ 335s file:////dir1/new file:////dir1/new/dir2/dir3 335s 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 335s ok 7 /g-file/test_g_file_has_prefix 335s ok 8 /g-file/test_g_file_get_parent_child 335s # End of g-file tests 335s ok - glib/g-file.test 335s # Running test: glib/dbus-appinfo.test 335s TAP version 14 335s # random seed: R02S3333da927705798ced9b038a0d2d665e 335s 1..3 335s # Start of appinfo tests 335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 335s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 335s ok 1 /appinfo/dbusappinfo 335s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 335s dbus-daemon[4715]: [session uid=1000 pid=4715] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=4714 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 335s # Acquired a message bus connection 335s dbus-daemon[4715]: [session uid=1000 pid=4715] Successfully activated service 'org.freedesktop.portal.Documents' 335s # Acquired the name org.freedesktop.portal.Documents 335s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 335s ok 2 /appinfo/flatpak-doc-export 335s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 335s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 335s ok 3 /appinfo/flatpak-missing-doc-export 335s # End of appinfo tests 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 335s # Lost the name org.freedesktop.portal.Documents 335s ok - glib/dbus-appinfo.test 335s # Running test: glib/win32-appinfo.test 335s TAP version 14 335s # random seed: R02S056a5092a855a4cee48b9983603c0503 335s 1..5 335s # Start of appinfo tests 335s ok 1 /appinfo/utf16-strfuncs 335s ok 2 /appinfo/win32-extract-executable 335s ok 3 /appinfo/win32-rundll32-fixup 335s ok 4 /appinfo/win32-parse-filename 335s ok 5 /appinfo/win32-utf16-conversion-fail 335s # Start of subprocess tests 335s # End of subprocess tests 335s # End of appinfo tests 335s ok - glib/win32-appinfo.test 335s # Running test: glib/gdbus-non-socket.test 335s TAP version 14 335s # random seed: R02S744b03ddc85b48e3b919888ba183b6f9 335s 1..1 335s # Start of gdbus tests 335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/home 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/cache 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/system-config2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/config 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/system-data2 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/data 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/state 335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_MOPLX2/gdbus/non-socket/.dirs/runtime 335s ok 1 /gdbus/non-socket 335s # End of gdbus tests 335s ok - glib/gdbus-non-socket.test 335s # Running test: glib/memory-monitor-portal.test 336s TAP version 13 336s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 336s 1..1 336s ok - glib/memory-monitor-portal.test 336s # Running test: glib/g-file-info-filesystem-readonly.test 336s TAP version 14 336s # random seed: R02Sd89582cd81c8bb82693afb7a37085830 336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 336s 1..2 336s # Start of g-file-info-filesystem-readonly tests 336s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 336s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 336s # End of g-file-info-filesystem-readonly tests 336s ok - glib/g-file-info-filesystem-readonly.test 336s # Running test: glib/type.test 336s TAP version 14 336s # random seed: R02S67c3cbdced1e2bc63ee38b1a3fc66dd0 336s 1..6 336s # Start of type tests 336s ok 1 /type/registration-serial 336s ok 2 /type/interface-prerequisite 336s ok 3 /type/interface-check 336s ok 4 /type/next-base 336s ok 5 /type/is-a 336s # Invalid types can?t be queried. 336s # Unclassed types can?t be queried. 336s ok 6 /type/query 336s # End of type tests 336s ok - glib/type.test 336s # Running test: glib/portal-support-flatpak-full.test 336s TAP version 14 336s # random seed: R02S90167705d1b0597aba1a358281aebee4 336s 1..1 336s # Start of portal-support tests 336s # Start of flatpak tests 336s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/home 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/cache 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/system-config2 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/config 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/system-data2 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/data 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/state 336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/runtime 336s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_M1XAX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 336s ok 1 /portal-support/flatpak/full 336s # End of flatpak tests 336s # End of portal-support tests 336s ok - glib/portal-support-flatpak-full.test 336s # Running test: glib/refcount.test 336s TAP version 14 336s # random seed: R02S18ab56a640d21197d8a4c7efd1d3f1ae 336s 1..4 336s # Start of refcount tests 336s ok 1 /refcount/grefcount 336s ok 2 /refcount/gatomicrefcount 336s # Start of grefcount tests 336s ok 3 /refcount/grefcount/saturation 336s # End of grefcount tests 336s # Start of gatomicrefcount tests 336s ok 4 /refcount/gatomicrefcount/saturation 336s # End of gatomicrefcount tests 336s # End of refcount tests 336s ok - glib/refcount.test 336s # Running test: glib/rec-mutex.test 336s TAP version 14 336s # random seed: R02S98f7b225307b950d51a5244d005c5ab0 336s 1..29 336s # Start of thread tests 336s ok 1 /thread/rec-mutex1 336s ok 2 /thread/rec-mutex2 336s ok 3 /thread/rec-mutex3 336s ok 4 /thread/rec-mutex4 336s # Start of rec-mutex tests 336s # Start of perf tests 336s # Start of uncontended tests 336s # max perf: inf mips 336s ok 5 /thread/rec-mutex/perf/uncontended/depth1 336s # max perf: inf mips 336s ok 6 /thread/rec-mutex/perf/uncontended/depth2 336s # max perf: 1.000000 mips 336s ok 7 /thread/rec-mutex/perf/uncontended/depth3 336s # max perf: 1.000000 mips 336s ok 8 /thread/rec-mutex/perf/uncontended/depth4 336s # max perf: 1.000000 mips 336s ok 9 /thread/rec-mutex/perf/uncontended/depth5 336s # End of uncontended tests 336s # Start of contended1 tests 336s # max perf: inf mips 336s ok 10 /thread/rec-mutex/perf/contended1/depth1 336s # max perf: inf mips 336s ok 11 /thread/rec-mutex/perf/contended1/depth2 336s # max perf: inf mips 336s ok 12 /thread/rec-mutex/perf/contended1/depth3 336s # max perf: inf mips 336s ok 13 /thread/rec-mutex/perf/contended1/depth4 336s # max perf: inf mips 336s ok 14 /thread/rec-mutex/perf/contended1/depth5 336s # End of contended1 tests 336s # Start of contended2 tests 336s # max perf: inf mips 336s ok 15 /thread/rec-mutex/perf/contended2/depth1 336s # max perf: inf mips 336s ok 16 /thread/rec-mutex/perf/contended2/depth2 336s # max perf: inf mips 336s ok 17 /thread/rec-mutex/perf/contended2/depth3 336s # max perf: 3.000000 mips 336s ok 18 /thread/rec-mutex/perf/contended2/depth4 336s # max perf: inf mips 336s ok 19 /thread/rec-mutex/perf/contended2/depth5 336s # End of contended2 tests 336s # Start of contended3 tests 336s # max perf: 4.000000 mips 336s ok 20 /thread/rec-mutex/perf/contended3/depth1 336s # max perf: 4.000000 mips 336s ok 21 /thread/rec-mutex/perf/contended3/depth2 336s # max perf: 2.000000 mips 336s ok 22 /thread/rec-mutex/perf/contended3/depth3 336s # max perf: 2.000000 mips 336s ok 23 /thread/rec-mutex/perf/contended3/depth4 336s # max perf: 4.000000 mips 336s ok 24 /thread/rec-mutex/perf/contended3/depth5 336s # End of contended3 tests 336s # Start of contended4 tests 336s # max perf: 5.000000 mips 336s ok 25 /thread/rec-mutex/perf/contended4/depth1 336s # max perf: 2.500000 mips 336s ok 26 /thread/rec-mutex/perf/contended4/depth2 336s # max perf: 5.000000 mips 336s ok 27 /thread/rec-mutex/perf/contended4/depth3 336s # max perf: 2.500000 mips 336s ok 28 /thread/rec-mutex/perf/contended4/depth4 336s # max perf: 2.500000 mips 336s ok 29 /thread/rec-mutex/perf/contended4/depth5 336s # End of contended4 tests 336s # End of perf tests 336s # End of rec-mutex tests 336s # End of thread tests 336s ok - glib/rec-mutex.test 336s # Running test: glib/1bit-mutex.test 336s TAP version 14 336s # random seed: R02S1bba8f68be0dedec9e159e0b125227ac 336s 1..2 336s # Start of glib tests 336s # Start of 1bit-mutex tests 337s # Executing: glib/1bit-mutex.test 342s # Executing: glib/1bit-mutex.test 342s ok 1 /glib/1bit-mutex/int 342s # slow test /glib/1bit-mutex/int executed in 6.67 secs 347s # Executing: glib/1bit-mutex.test 349s ok 2 /glib/1bit-mutex/pointer 349s # slow test /glib/1bit-mutex/pointer executed in 6.81 secs 349s # End of 1bit-mutex tests 349s # End of glib tests 349s ok - glib/1bit-mutex.test 349s # Running test: glib/utils-isolated.test 349s TAP version 14 349s # random seed: R02S421464f45be462ecf9347b15de79ccbf 349s 1..11 349s # Start of utils-isolated tests 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/tmp-dir/.dirs/runtime 349s ok 1 /utils-isolated/tmp-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/home-dir/.dirs/runtime 349s ok 2 /utils-isolated/home-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-cache-dir/.dirs/runtime 349s ok 3 /utils-isolated/user-cache-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-config-dirs/.dirs/runtime 349s ok 4 /utils-isolated/system-config-dirs 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-config-dir/.dirs/runtime 349s ok 5 /utils-isolated/user-config-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/system-data-dirs/.dirs/runtime 349s ok 6 /utils-isolated/system-data-dirs 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-data-dir/.dirs/runtime 349s ok 7 /utils-isolated/user-data-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-state-dir/.dirs/runtime 349s ok 8 /utils-isolated/user-state-dir 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/user-runtime-dir/.dirs/runtime 349s ok 9 /utils-isolated/user-runtime-dir 349s # Start of cleanup tests 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 349s Unable to clean up temporary directory /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 349s Unable to clean up temporary directory /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 349s Unable to clean up temporary directory /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/handles-errors: Directory not empty 349s ok 10 /utils-isolated/cleanup/handles-errors 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 349s Unable to clean up temporary directory /tmp/test_utils-isolated_13GBX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 349s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 349s # End of cleanup tests 349s # End of utils-isolated tests 349s ok - glib/utils-isolated.test 349s # Running test: glib/sandbox.test 349s TAP version 14 349s # random seed: R02S7cab20ebb0bbb28286f7d9b63ba11207 349s 1..4 349s # Start of sandbox tests 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_FXFCX2/sandbox/none/.dirs/runtime 349s ok 1 /sandbox/none 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_FXFCX2/sandbox/snap/.dirs/runtime 349s # Created snap.yaml in /tmp/test_sandbox_FXFCX2/snap/current/meta/snap.yaml 349s ok 2 /sandbox/snap 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_FXFCX2/sandbox/classic-snap/.dirs/runtime 349s # Created snap.yaml in /tmp/test_sandbox_FXFCX2/snap/current/meta/snap.yaml 349s ok 3 /sandbox/classic-snap 349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/home 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/cache 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/system-config2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/config 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/system-data2 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/data 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/state 349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/runtime 349s # Creating .flatpak-info in /tmp/test_sandbox_FXFCX2/sandbox/flatpak/.dirs/runtime/.flatpak-info 349s ok 4 /sandbox/flatpak 349s # End of sandbox tests 349s ok - glib/sandbox.test 349s # Running test: glib/type-flags.test 349s TAP version 14 349s # random seed: R02S23b842496f4fd512dddc3998ee15327d 349s 1..4 349s # Start of type tests 349s # Start of flags tests 349s ok 1 /type/flags/interface 349s ok 2 /type/flags/final 349s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 349s ok 3 /type/flags/deprecated 349s # Start of final tests 349s ok 4 /type/flags/final/instance-check 349s # End of final tests 349s # End of flags tests 349s # End of type tests 349s ok - glib/type-flags.test 349s # Running test: glib/performance.test 349s Running test simple-construction 352s # Executing: glib/performance.test 357s # Executing: glib/performance.test 358s simple-construction: Millions of constructed objects per second: 20.418 358s Running test simple-construction1 362s simple-construction1: Millions of constructed objects per second: 77.044 362s Running test complex-construction 362s # Executing: glib/performance.test 364s complex-construction: Millions of constructed objects per second: 7.009 364s Running test complex-construction1 367s # Executing: glib/performance.test 369s complex-construction1: Millions of constructed objects per second: 12.028 369s Running test complex-construction2 372s # Executing: glib/performance.test 374s complex-construction2: Millions of constructed objects per second: 14.386 374s Running test finalization 375s finalization: Millions of finalized objects per second: 4.316 375s Running test type-check 375s type-check: Million type checks per second: -inf 375s Running test emit-unhandled 376s emit-unhandled: Emissions per second: 6358795 376s Running test emit-unhandled-empty 377s # Executing: glib/performance.test 377s emit-unhandled-empty: Emissions per second: 48643289 377s Running test emit-unhandled-generic 378s emit-unhandled-generic: Emissions per second: 8554294 378s Running test emit-unhandled-generic-empty 379s emit-unhandled-generic-empty: Emissions per second: 49593439 379s Running test emit-unhandled-args 380s emit-unhandled-args: Emissions per second: 5030798 380s Running test emit-handled 381s emit-handled: Emissions per second: 3907179 381s Running test emit-handled-empty 382s # Executing: glib/performance.test 382s emit-handled-empty: Emissions per second: 4085768 382s Running test emit-handled-generic 383s emit-handled-generic: Emissions per second: 3992705 383s Running test emit-handled-generic-empty 384s emit-handled-generic-empty: Emissions per second: 7448840 384s Running test emit-handled-args 385s emit-handled-args: Emissions per second: 3352874 385s Running test notify-unhandled 386s notify-unhandled: Notify (unhandled) per second: 38217496 386s Running test notify-by-pspec-unhandled 387s # Executing: glib/performance.test 387s notify-by-pspec-unhandled: Notify (unhandled) per second: 132455731 387s Running test notify-handled 388s notify-handled: Notify per second: 2287756 388s Running test notify-by-pspec-handled 389s notify-by-pspec-handled: Notify per second: 2399620 389s Running test property-set 390s property-set: Property set per second: 18833272 390s Running test property-get 392s property-get: Property get per second: 18755497 392s Running test refcount 392s # Executing: glib/performance.test 393s refcount: Million refs+unref per second: 51.15 393s Running test refcount-1 394s refcount-1: Million refs+unref per second: 132.62 394s Running test refcount-toggle 395s refcount-toggle: Million refs+unref per second: 75.29 395s ok - glib/performance.test 395s # Running test: glib/permission.test 395s TAP version 14 395s # random seed: R02S0a3cc385700d4e887f58b26bbbc1db58 395s 1..1 395s # Start of permission tests 395s ok 1 /permission/simple 395s # End of permission tests 395s ok - glib/permission.test 395s # Running test: glib/assert-msg-test.py.test 395s TAP version 13 395s ok 1 __main__.TestAssertMessage.test_gassert 395s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 395s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 395s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 395s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 395s # Error: ** 395s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 395s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 395s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 395s 1..2 395s ok - glib/assert-msg-test.py.test 395s # Running test: glib/spawn-path-search.test 395s TAP version 14 395s # random seed: R02Sa02d42fbffed3aebc58b60c9736706f0 395s 1..7 395s # Start of spawn tests 395s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 395s # 395s # this is spawn-test-helper from glib/tests 395s # 395s ok 1 /spawn/do-not-search 395s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 395s # 395s # this is spawn-test-helper from path-test-subdir 395s # 395s ok 2 /spawn/search-path 395s # /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. 395s # 395s # this is spawn-test-helper from path-test-subdir 395s # 395s ok 3 /spawn/search-path-from-envp 395s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 395s # 395s # this is spawn-test-helper from path-test-subdir 395s # 395s ok 4 /spawn/search-path-ambiguous 395s # 395s # this is spawn-test-helper from path-test-subdir 395s # 395s ok 5 /spawn/search-path-heap-allocation 395s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 395s # 395s # this is spawn-test-helper from glib/tests 395s # 395s ok 6 /spawn/search-path-fallback-in-environ 395s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 395s # 395s # this is spawn-test-helper from glib/tests 395s # 395s ok 7 /spawn/search-path-fallback-in-envp 395s # End of spawn tests 395s ok - glib/spawn-path-search.test 395s # Running test: glib/markup-subparser.test 395s TAP version 14 395s # random seed: R02S31edacc10580239b95ad24d2fb949a76 395s 1..14 395s # Start of glib tests 395s # Start of markup tests 395s # Start of subparser tests 395s # Start of success tests 395s ok 1 /glib/markup/subparser/success/0 395s ok 2 /glib/markup/subparser/success/1 395s ok 3 /glib/markup/subparser/success/2 395s ok 4 /glib/markup/subparser/success/3 395s ok 5 /glib/markup/subparser/success/4 395s ok 6 /glib/markup/subparser/success/5 395s ok 7 /glib/markup/subparser/success/6 395s # End of success tests 395s # Start of failure tests 395s ok 8 /glib/markup/subparser/failure/0 395s ok 9 /glib/markup/subparser/failure/1 395s ok 10 /glib/markup/subparser/failure/2 395s ok 11 /glib/markup/subparser/failure/3 395s ok 12 /glib/markup/subparser/failure/4 395s ok 13 /glib/markup/subparser/failure/5 395s ok 14 /glib/markup/subparser/failure/6 395s # End of failure tests 395s # End of subparser tests 395s # End of markup tests 395s # End of glib tests 395s ok - glib/markup-subparser.test 395s # Running test: glib/queue.test 395s TAP version 14 395s # random seed: R02S44f6b32e46e48285bc58a636311208b9 395s 1..12 395s # Start of queue tests 395s ok 1 /queue/basic 395s ok 2 /queue/copy 395s ok 3 /queue/off-by-one 395s ok 4 /queue/find-custom 395s ok 5 /queue/static 395s ok 6 /queue/clear 395s ok 7 /queue/free-full 395s ok 8 /queue/clear-full 395s ok 9 /queue/insert-sibling-link 395s ok 10 /queue/push-nth-link 395s # Start of clear-full tests 395s ok 11 /queue/clear-full/noop 395s # End of clear-full tests 395s # Start of random tests 395s ok 12 /queue/random/seed:1802142433 395s # End of random tests 395s # End of queue tests 395s ok - glib/queue.test 395s # Running test: glib/accumulator.test 395s TAP version 14 395s # random seed: R02Scdae2e933e2df20377b13f0295c5ff86 395s 1..1 395s # Start of gobject tests 395s ok 1 /gobject/accumulator 395s # End of gobject tests 395s ok - glib/accumulator.test 395s # Running test: glib/trash.test 395s TAP version 14 395s # random seed: R02S17f3494e490f6f88b912fea712e6553d 395s 1..3 395s # Start of trash tests 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 395s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 395s # File: /tmp/test-trashLDFJX2 (parent st_dev: 64769) 395s # Home: /home/ubuntu (st_dev: 64769) 395s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 395s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 395s ok 3 /trash/long-filename 395s # End of trash tests 395s ok - glib/trash.test 395s # Running test: glib/hash.test 395s TAP version 14 395s # random seed: R02S3bedc8aa4393f8cb4cda08e8c0d098d9 395s 1..34 395s # Start of hash tests 395s ok 1 /hash/misc 395s ok 2 /hash/one 395s ok 3 /hash/honeyman 395s ok 4 /hash/direct 395s ok 5 /hash/direct2 395s ok 6 /hash/int 395s ok 7 /hash/int64 395s ok 8 /hash/double 395s ok 9 /hash/string 395s ok 10 /hash/set 395s ok 11 /hash/set-ref 395s ok 12 /hash/ref 395s ok 13 /hash/remove-all 395s ok 14 /hash/recursive-remove-all 395s ok 15 /hash/find 395s ok 16 /hash/foreach 395s ok 17 /hash/foreach-steal 395s ok 18 /hash/steal-extended 395s ok 19 /hash/steal-all-keys 395s ok 20 /hash/steal-all-values 395s ok 21 /hash/lookup-extended 395s ok 22 /hash/new-similar 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 395s ok 23 /hash/lookup-null-key 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 395s ok 24 /hash/destroy-modify 395s ok 25 /hash/consistency 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 395s ok 26 /hash/iter-replace 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 395s ok 27 /hash/set-insert-corruption 395s ok 28 /hash/set-to-strv 395s ok 29 /hash/get-keys-as-ptr-array 395s ok 30 /hash/get-values-as-ptr-array 395s ok 31 /hash/primes 395s # Start of int64 tests 395s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 395s ok 32 /hash/int64/collisions 395s # End of int64 tests 395s # Start of double tests 395s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 395s ok 33 /hash/double/collisions 395s # End of double tests 395s # Start of recursive-remove-all tests 395s # End of recursive-remove-all tests 395s # Start of steal-extended tests 395s ok 34 /hash/steal-extended/optional 395s # End of steal-extended tests 395s # End of hash tests 395s ok - glib/hash.test 395s # Running test: glib/strvbuilder.test 395s TAP version 14 395s # random seed: R02S015ef493f2d8bfb03db58c5d331e6df1 395s 1..7 395s # Start of strvbuilder tests 395s ok 1 /strvbuilder/empty 395s ok 2 /strvbuilder/add 395s ok 3 /strvbuilder/addv 395s ok 4 /strvbuilder/add_many 395s ok 5 /strvbuilder/take 395s ok 6 /strvbuilder/ref 395s ok 7 /strvbuilder/unref_to_strv 395s # End of strvbuilder tests 395s ok - glib/strvbuilder.test 395s # Running test: glib/deprecated-properties.test 395s TAP version 14 395s # random seed: R02Sc5a6eda4e98fb2378f52394efc5a0da8 395s 1..3 395s # Start of deprecated-properties tests 395s ok 1 /deprecated-properties/construct 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 395s ok 2 /deprecated-properties/default-construct 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 395s ok 3 /deprecated-properties/set 395s # End of deprecated-properties tests 395s ok - glib/deprecated-properties.test 395s # Running test: glib/unicode.test 395s TAP version 14 395s # random seed: R02S17241c33207e8929cb3ee828bf4b3964 395s 1..39 395s # Start of unicode tests 395s ok 1 /unicode/alnum 395s ok 2 /unicode/alpha 395s ok 3 /unicode/break-type 395s ok 4 /unicode/canonical-decomposition 395s ok 5 /unicode/casefold 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s # Cannot set locale to lt_LT, skipping 395s ok 6 /unicode/casemap_and_casefold 395s ok 7 /unicode/cases 395s ok 8 /unicode/character-type 395s ok 9 /unicode/cntrl 395s ok 10 /unicode/combining-class 395s ok 11 /unicode/compose 395s ok 12 /unicode/decompose 395s ok 13 /unicode/decompose-tail 395s ok 14 /unicode/defined 395s ok 15 /unicode/digit 395s ok 16 /unicode/digit-value 395s ok 17 /unicode/fully-decompose-canonical 395s ok 18 /unicode/fully-decompose-len 395s ok 19 /unicode/normalization 395s ok 20 /unicode/graph 395s # Testing script Zyyy (code 1517910393) 395s # Testing script Zinh (code 1516858984) 395s # Testing script Zmth (code 1517122664) 395s # Testing script Arab (code 1098015074) 395s # Testing script Armn (code 1098018158) 395s # Testing script Beng (code 1113943655) 395s # Testing script Bopo (code 1114599535) 395s # Testing script Cher (code 1130915186) 395s # Testing script Copt (code 1131376756) 395s # Testing script Cyrl (code 1132032620) 395s # Testing script Dsrt (code 1148416628) 395s # Testing script Deva (code 1147500129) 395s # Testing script Ethi (code 1165256809) 395s # Testing script Geor (code 1197830002) 395s # Testing script Goth (code 1198486632) 395s # Testing script Grek (code 1198679403) 395s # Testing script Gujr (code 1198877298) 395s # Testing script Guru (code 1198879349) 395s # Testing script Hani (code 1214344809) 395s # Testing script Hang (code 1214344807) 395s # Testing script Hebr (code 1214603890) 395s # Testing script Hira (code 1214870113) 395s # Testing script Knda (code 1265525857) 395s # Testing script Kana (code 1264676449) 395s # Testing script Khmr (code 1265134962) 395s # Testing script Laoo (code 1281453935) 395s # Testing script Latn (code 1281455214) 395s # Testing script Mlym (code 1298954605) 395s # Testing script Mong (code 1299148391) 395s # Testing script Mymr (code 1299803506) 395s # Testing script Ogam (code 1332175213) 395s # Testing script Ital (code 1232363884) 395s # Testing script Orya (code 1332902241) 395s # Testing script Runr (code 1383427698) 395s # Testing script Sinh (code 1399418472) 395s # Testing script Syrc (code 1400468067) 395s # Testing script Taml (code 1415671148) 395s # Testing script Telu (code 1415933045) 395s # Testing script Thaa (code 1416126817) 395s # Testing script Thai (code 1416126825) 395s # Testing script Tibt (code 1416192628) 395s # Testing script Cans (code 1130458739) 395s # Testing script Yiii (code 1500080489) 395s # Testing script Tglg (code 1416064103) 395s # Testing script Hano (code 1214344815) 395s # Testing script Buhd (code 1114990692) 395s # Testing script Tagb (code 1415669602) 395s # Testing script Brai (code 1114792297) 395s # Testing script Cprt (code 1131442804) 395s # Testing script Limb (code 1281977698) 395s # Testing script Osma (code 1332964705) 395s # Testing script Shaw (code 1399349623) 395s # Testing script Linb (code 1281977954) 395s # Testing script Tale (code 1415670885) 395s # Testing script Ugar (code 1432838514) 395s # Testing script Talu (code 1415670901) 395s # Testing script Bugi (code 1114990441) 395s # Testing script Glag (code 1198285159) 395s # Testing script Tfng (code 1415999079) 395s # Testing script Sylo (code 1400466543) 395s # Testing script Xpeo (code 1483761007) 395s # Testing script Khar (code 1265131890) 395s # Testing script Zzzz (code 1517976186) 395s # Testing script Bali (code 1113681001) 395s # Testing script Xsux (code 1483961720) 395s # Testing script Phnx (code 1349021304) 395s # Testing script Phag (code 1349017959) 395s # Testing script Nkoo (code 1315663727) 395s # Testing script Kali (code 1264675945) 395s # Testing script Lepc (code 1281716323) 395s # Testing script Rjng (code 1382706791) 395s # Testing script Sund (code 1400204900) 395s # Testing script Saur (code 1398895986) 395s # Testing script Cham (code 1130914157) 395s # Testing script Olck (code 1332503403) 395s # Testing script Vaii (code 1449224553) 395s # Testing script Cari (code 1130459753) 395s # Testing script Lyci (code 1283023721) 395s # Testing script Lydi (code 1283023977) 395s # Testing script Avst (code 1098281844) 395s # Testing script Bamu (code 1113681269) 395s # Testing script Egyp (code 1164409200) 395s # Testing script Armi (code 1098018153) 395s # Testing script Phli (code 1349020777) 395s # Testing script Prti (code 1349678185) 395s # Testing script Java (code 1247901281) 395s # Testing script Kthi (code 1265920105) 395s # Testing script Lisu (code 1281979253) 395s # Testing script Mtei (code 1299473769) 395s # Testing script Sarb (code 1398895202) 395s # Testing script Orkh (code 1332898664) 395s # Testing script Samr (code 1398893938) 395s # Testing script Lana (code 1281453665) 395s # Testing script Tavt (code 1415673460) 395s # Testing script Batk (code 1113683051) 395s # Testing script Brah (code 1114792296) 395s # Testing script Mand (code 1298230884) 395s # Testing script Cakm (code 1130457965) 395s # Testing script Merc (code 1298494051) 395s # Testing script Mero (code 1298494063) 395s # Testing script Plrd (code 1349284452) 395s # Testing script Shrd (code 1399353956) 395s # Testing script Sora (code 1399812705) 395s # Testing script Takr (code 1415670642) 395s # Testing script Bass (code 1113682803) 395s # Testing script Aghb (code 1097295970) 395s # Testing script Dupl (code 1148547180) 395s # Testing script Elba (code 1164730977) 395s # Testing script Gran (code 1198678382) 395s # Testing script Khoj (code 1265135466) 395s # Testing script Sind (code 1399418468) 395s # Testing script Lina (code 1281977953) 395s # Testing script Mahj (code 1298229354) 395s # Testing script Mani (code 1298230889) 395s # Testing script Mend (code 1298493028) 395s # Testing script Modi (code 1299145833) 395s # Testing script Mroo (code 1299345263) 395s # Testing script Nbat (code 1315070324) 395s # Testing script Narb (code 1315009122) 395s # Testing script Perm (code 1348825709) 395s # Testing script Hmng (code 1215131239) 395s # Testing script Palm (code 1348562029) 395s # Testing script Pauc (code 1348564323) 395s # Testing script Phlp (code 1349020784) 395s # Testing script Sidd (code 1399415908) 395s # Testing script Tirh (code 1416196712) 395s # Testing script Wara (code 1466004065) 395s # Testing script Ahom (code 1097363309) 395s # Testing script Hluw (code 1215067511) 395s # Testing script Hatr (code 1214346354) 395s # Testing script Mult (code 1299541108) 395s # Testing script Hung (code 1215655527) 395s # Testing script Sgnw (code 1399287415) 395s # Testing script Adlm (code 1097100397) 395s # Testing script Bhks (code 1114139507) 395s # Testing script Marc (code 1298231907) 395s # Testing script Newa (code 1315272545) 395s # Testing script Osge (code 1332963173) 395s # Testing script Tang (code 1415671399) 395s # Testing script Gonm (code 1198485101) 395s # Testing script Nshu (code 1316186229) 395s # Testing script Soyo (code 1399814511) 395s # Testing script Zanb (code 1516334690) 395s # Testing script Dogr (code 1148151666) 395s # Testing script Gong (code 1198485095) 395s # Testing script Rohg (code 1383032935) 395s # Testing script Maka (code 1298230113) 395s # Testing script Medf (code 1298490470) 395s # Testing script Sogo (code 1399809903) 395s # Testing script Sogd (code 1399809892) 395s # Testing script Elym (code 1164736877) 395s # Testing script Nand (code 1315008100) 395s # Testing script Hmnp (code 1215131248) 395s # Testing script Wcho (code 1466132591) 395s # Testing script Chrs (code 1130918515) 395s # Testing script Diak (code 1147756907) 395s # Testing script Kits (code 1265202291) 395s # Testing script Yezi (code 1499822697) 395s # Testing script Cpmn (code 1131441518) 395s # Testing script Ougr (code 1333094258) 395s # Testing script Tnsa (code 1416524641) 395s # Testing script Toto (code 1416590447) 395s # Testing script Vith (code 1449751656) 395s # Testing script Kawi (code 1264678761) 395s # Testing script Nagm (code 1315006317) 395s ok 21 /unicode/iso15924 395s ok 22 /unicode/lower 395s ok 23 /unicode/mark 395s ok 24 /unicode/mirror 395s ok 25 /unicode/print 395s ok 26 /unicode/punctuation 395s ok 27 /unicode/script 395s ok 28 /unicode/space 395s ok 29 /unicode/strdown 395s ok 30 /unicode/strup 395s ok 31 /unicode/turkish-strupdown 395s ok 32 /unicode/title 395s ok 33 /unicode/upper 395s ok 34 /unicode/validate 395s ok 35 /unicode/wide 395s ok 36 /unicode/xdigit 395s ok 37 /unicode/xdigit-value 395s ok 38 /unicode/zero-width 395s ok 39 /unicode/normalize 395s # End of unicode tests 395s ok - glib/unicode.test 395s # Running test: glib/mapping.test 395s TAP version 14 395s # random seed: R02S0c7c549e9448ea0e7d024960c7d8f829 395s 1..3 395s # Start of mapping tests 395s # test_mapping: ok 395s ok 1 /mapping/flags 395s ok 2 /mapping/private 395s # test_child_private: child spawned 395s # Subtest: /usr/libexec/installed-tests/glib/mapping 395s # random seed: R02S4e8009bef480b16056a34885b41e82da 395s # test_child_private: received first child signal 395s # test_child_private: received parent signal 395s # Child exited with status 0 395s # test_child_private: received second child signal 395s ok 3 /mapping/private-child 395s # End of mapping tests 395s ok - glib/mapping.test 395s # Running test: glib/markup-parse.test 395s TAP version 14 395s # random seed: R02S50677a47360a374f0a4dc8a7c61189fe 395s 1..71 395s # Start of markup tests 395s # Start of parse tests 395s ok 1 /markup/parse/fail-15.gmarkup 395s ok 2 /markup/parse/fail-36.gmarkup 395s ok 3 /markup/parse/valid-15.gmarkup 395s ok 4 /markup/parse/fail-37.gmarkup 395s ok 5 /markup/parse/fail-12.gmarkup 395s ok 6 /markup/parse/fail-29.gmarkup 395s ok 7 /markup/parse/fail-6.gmarkup 395s ok 8 /markup/parse/fail-32.gmarkup 395s ok 9 /markup/parse/fail-49.gmarkup 395s ok 10 /markup/parse/fail-5.gmarkup 395s ok 11 /markup/parse/fail-13.gmarkup 395s ok 12 /markup/parse/fail-7.gmarkup 395s ok 13 /markup/parse/valid-9.gmarkup 395s ok 14 /markup/parse/valid-14.gmarkup 395s ok 15 /markup/parse/valid-2.gmarkup 395s ok 16 /markup/parse/fail-10.gmarkup 395s ok 17 /markup/parse/fail-17.gmarkup 395s ok 18 /markup/parse/valid-13.gmarkup 395s ok 19 /markup/parse/valid-4.gmarkup 395s ok 20 /markup/parse/fail-26.gmarkup 395s ok 21 /markup/parse/fail-8.gmarkup 395s ok 22 /markup/parse/fail-1.gmarkup 395s ok 23 /markup/parse/fail-52.gmarkup 395s ok 24 /markup/parse/valid-1.gmarkup 395s ok 25 /markup/parse/valid-6.gmarkup 395s ok 26 /markup/parse/fail-46.gmarkup 395s ok 27 /markup/parse/fail-40.gmarkup 395s ok 28 /markup/parse/valid-16.gmarkup 395s ok 29 /markup/parse/fail-47.gmarkup 395s ok 30 /markup/parse/fail-11.gmarkup 395s ok 31 /markup/parse/fail-22.gmarkup 395s ok 32 /markup/parse/fail-24.gmarkup 395s ok 33 /markup/parse/fail-16.gmarkup 395s ok 34 /markup/parse/fail-41.gmarkup 395s ok 35 /markup/parse/fail-39.gmarkup 395s ok 36 /markup/parse/fail-54.gmarkup 395s ok 37 /markup/parse/fail-43.gmarkup 395s ok 38 /markup/parse/fail-18.gmarkup 395s ok 39 /markup/parse/valid-10.gmarkup 395s ok 40 /markup/parse/fail-51.gmarkup 395s ok 41 /markup/parse/valid-17.gmarkup 395s ok 42 /markup/parse/fail-33.gmarkup 395s ok 43 /markup/parse/valid-8.gmarkup 395s ok 44 /markup/parse/fail-44.gmarkup 395s ok 45 /markup/parse/fail-53.gmarkup 395s ok 46 /markup/parse/valid-11.gmarkup 395s ok 47 /markup/parse/valid-5.gmarkup 395s ok 48 /markup/parse/fail-42.gmarkup 395s ok 49 /markup/parse/fail-35.gmarkup 395s ok 50 /markup/parse/fail-9.gmarkup 395s ok 51 /markup/parse/valid-12.gmarkup 395s ok 52 /markup/parse/valid-3.gmarkup 395s ok 53 /markup/parse/fail-21.gmarkup 395s ok 54 /markup/parse/fail-4.gmarkup 395s ok 55 /markup/parse/fail-34.gmarkup 395s ok 56 /markup/parse/fail-45.gmarkup 395s ok 57 /markup/parse/fail-38.gmarkup 395s ok 58 /markup/parse/fail-14.gmarkup 395s ok 59 /markup/parse/fail-19.gmarkup 395s ok 60 /markup/parse/fail-28.gmarkup 395s ok 61 /markup/parse/fail-2.gmarkup 395s ok 62 /markup/parse/fail-3.gmarkup 395s ok 63 /markup/parse/fail-25.gmarkup 395s ok 64 /markup/parse/valid-7.gmarkup 395s ok 65 /markup/parse/fail-31.gmarkup 395s ok 66 /markup/parse/fail-23.gmarkup 395s ok 67 /markup/parse/fail-30.gmarkup 395s ok 68 /markup/parse/fail-50.gmarkup 395s ok 69 /markup/parse/fail-20.gmarkup 395s ok 70 /markup/parse/fail-27.gmarkup 395s ok 71 /markup/parse/fail-48.gmarkup 395s # End of parse tests 395s # End of markup tests 395s ok - glib/markup-parse.test 395s # Running test: glib/io-channel.test 395s TAP version 14 395s # random seed: R02Sb131cd9bd1a03eb82b9defac56b0252c 395s 1..2 395s # Start of io-channel tests 395s # Line one 395s # 395s # Line two 395s # 395s # Line three 395s # 395s # /* Hello */ 395s # 395s # \x1234\x567890\x6666 395s # 395s # read 62 bytes, wrote 62 bytes 395s ok 1 /io-channel/read-write 395s # Start of read-line tests 395s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 395s ok 2 /io-channel/read-line/embedded-nuls 395s # End of read-line tests 395s # End of io-channel tests 395s ok - glib/io-channel.test 395s # Running test: glib/gdbus-names.test 395s TAP version 14 395s # random seed: R02Sab8279fa056ebbca0e8dcb3502fb3c9c 395s 1..10 395s # Start of gdbus tests 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/validate-names/.dirs/runtime 395s ok 1 /gdbus/validate-names 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-own-name/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 2 /gdbus/bus-own-name 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 3 /gdbus/bus-watch-name 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 4 /gdbus/bus-watch-name-auto-start 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s dbus-daemon[5079]: [session uid=1000 pid=5079] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=5070 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 395s # Acquired a message bus connection 395s dbus-daemon[5079]: [session uid=1000 pid=5079] Successfully activated service 'org.gtk.GDBus.FakeService' 395s # Acquired the name org.gtk.GDBus.FakeService 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 6 /gdbus/bus-watch-name-closures 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 7 /gdbus/bus-watch-name-closures-auto-start 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-watch-different-context/.dirs/runtime 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 8 /gdbus/bus-watch-different-context 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/bus-unwatch-early/.dirs/runtime 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 395s ok 9 /gdbus/bus-unwatch-early 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FYKLX2/gdbus/escape-object-path/.dirs/runtime 395s ok 10 /gdbus/escape-object-path 395s # End of gdbus tests 395s ok - glib/gdbus-names.test 395s # Running test: glib/base64.test 395s TAP version 14 395s # random seed: R02Sded219ab10e2dee6530f427aa799bd2e 395s 1..28 395s # Start of base64 tests 395s ok 1 /base64/encode 395s ok 2 /base64/decode 395s ok 3 /base64/decode-inplace 395s ok 4 /base64/encode-decode 395s # Start of full tests 395s ok 5 /base64/full/1 395s ok 6 /base64/full/2 395s ok 7 /base64/full/3 395s ok 8 /base64/full/4 395s # End of full tests 395s # Start of encode tests 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 395s ok 9 /base64/encode/empty 395s # Start of incremental tests 395s # Start of small-block tests 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 395s ok 10 /base64/encode/incremental/small-block/1 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 395s ok 11 /base64/encode/incremental/small-block/2 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 395s ok 12 /base64/encode/incremental/small-block/3 395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 395s ok 13 /base64/encode/incremental/small-block/4 395s # End of small-block tests 395s # End of incremental tests 395s # End of encode tests 395s # Start of incremental tests 395s # Start of nobreak tests 395s ok 14 /base64/incremental/nobreak/1 395s ok 15 /base64/incremental/nobreak/2 395s ok 16 /base64/incremental/nobreak/3 395s ok 17 /base64/incremental/nobreak/4-a 395s ok 18 /base64/incremental/nobreak/4-b 395s ok 19 /base64/incremental/nobreak/4-c 395s # End of nobreak tests 395s # Start of break tests 395s ok 20 /base64/incremental/break/1 395s ok 21 /base64/incremental/break/2 395s ok 22 /base64/incremental/break/3 395s # End of break tests 395s # Start of smallblock tests 395s ok 23 /base64/incremental/smallblock/1 395s ok 24 /base64/incremental/smallblock/2 395s ok 25 /base64/incremental/smallblock/3 395s ok 26 /base64/incremental/smallblock/4 395s # End of smallblock tests 395s # End of incremental tests 395s # Start of decode tests 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 395s ok 27 /base64/decode/empty 395s # End of decode tests 395s # Start of encode-decode tests 395s # Vector 0: 395s # Vector 1: f 395s # Vector 2: fo 395s # Vector 3: foo 395s # Vector 4: foob 395s # Vector 5: fooba 395s # Vector 6: foobar 395s ok 28 /base64/encode-decode/rfc4648 395s # End of encode-decode tests 395s # End of base64 tests 395s ok - glib/base64.test 395s # Running test: glib/mimeapps.test 395s TAP version 14 395s # random seed: R02Sb3b775747548c11bd28fe68920a6ef65 395s 1..7 395s # Start of appinfo tests 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 395s ok 1 /appinfo/all 395s # Start of mime tests 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config 395s ok 2 /appinfo/mime/api 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config 395s ok 3 /appinfo/mime/default 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config 395s ok 4 /appinfo/mime/file 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/config 395s ok 5 /appinfo/mime/scheme-handler 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config 395s ok 6 /appinfo/mime/default-last-used 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/runtime 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 395s # removing '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 395s # creating '/tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 395s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BKSBX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_BKSBX2/appinfo/mime/ignore-nonexisting/.dirs/config 395s ok 7 /appinfo/mime/ignore-nonexisting 395s # End of mime tests 395s # End of appinfo tests 395s ok - glib/mimeapps.test 395s # Running test: glib/properties-refcount2.test 395s TAP version 14 395s # random seed: R02S01ba4e1efbb69e44dd3f4dc083b2a2c8 395s 1..1 395s # Start of gobject tests 395s # Start of refcount tests 395s # init 0x564f43cc3770 395s # 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 395s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # . 396s # dispose 0x564f43cc3770! 396s # 396s ok 1 /gobject/refcount/properties-2 396s # slow test /gobject/refcount/properties-2 executed in 0.86 secs 396s # End of refcount tests 396s # End of gobject tests 396s ok - glib/properties-refcount2.test 396s # Running test: glib/socket-address.test 396s TAP version 14 396s # random seed: R02S0670c2658b5bd5e3e7d969ae97f8061c 396s 1..2 396s # Start of socket tests 396s # Start of address tests 396s # Start of unix tests 396s ok 1 /socket/address/unix/construct 396s ok 2 /socket/address/unix/to-string 396s # End of unix tests 396s # End of address tests 396s # End of socket tests 396s ok - glib/socket-address.test 396s # Running test: glib/properties-refcount4.test 396s TAP version 14 396s # random seed: R02S6889a8d9a1c2bdd04ff68284089d46cc 396s 1..1 396s # Start of gobject tests 396s # Start of refcount tests 396s ok 1 /gobject/refcount/properties-4 396s # End of refcount tests 396s # End of gobject tests 396s ok - glib/properties-refcount4.test 396s # Running test: glib/atomic-c-99.test 396s TAP version 14 396s # random seed: R02S266772291431e424b3715d45754fa460 396s 1..2 396s # Start of atomic tests 396s ok 1 /atomic/types 396s ok 2 /atomic/threaded 396s # End of atomic tests 396s ok - glib/atomic-c-99.test 396s # Running test: glib/option-context.test 396s TAP version 14 396s # random seed: R02S3f31a81b6d14340b73d687fb9b95ae8d 396s 1..57 396s # Start of option tests 396s ok 1 /option/basic 396s ok 2 /option/translate 396s ok 3 /option/strict-posix 396s # Start of help tests 396s ok 4 /option/help/options 396s ok 5 /option/help/no-options 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 396s ok 6 /option/help/no-help-options 396s # End of help tests 396s # Start of group tests 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 396s ok 7 /option/group/captions 396s ok 8 /option/group/main 396s ok 9 /option/group/error-hook 396s ok 10 /option/group/parse 396s # Start of captions tests 396s # Start of subprocess tests 396s # End of subprocess tests 396s # End of captions tests 396s # End of group tests 396s # Start of restoration tests 396s ok 11 /option/restoration/int 396s ok 12 /option/restoration/string 396s ok 13 /option/restoration/boolean 396s # End of restoration tests 396s # Start of arg tests 396s ok 14 /option/arg/reverse-string 396s ok 15 /option/arg/optional-int 396s # Start of repetition tests 396s ok 16 /option/arg/repetition/int 396s ok 17 /option/arg/repetition/string 396s ok 18 /option/arg/repetition/filename 396s ok 19 /option/arg/repetition/double 396s ok 20 /option/arg/repetition/locale 396s ok 21 /option/arg/repetition/int64 396s # End of repetition tests 396s # Start of array tests 396s ok 22 /option/arg/array/string 396s # End of array tests 396s # Start of callback tests 396s ok 23 /option/arg/callback/string 396s ok 24 /option/arg/callback/count 396s ok 25 /option/arg/callback/optional1 396s ok 26 /option/arg/callback/optional2 396s ok 27 /option/arg/callback/optional3 396s ok 28 /option/arg/callback/optional4 396s ok 29 /option/arg/callback/optional5 396s ok 30 /option/arg/callback/optional6 396s ok 31 /option/arg/callback/optional7 396s ok 32 /option/arg/callback/optional8 396s # End of callback tests 396s # Start of remaining tests 396s ok 33 /option/arg/remaining/callback 396s ok 34 /option/arg/remaining/callback-false 396s ok 35 /option/arg/remaining/non-option 396s ok 36 /option/arg/remaining/separator 396s ok 37 /option/arg/remaining/array 396s # End of remaining tests 396s # Start of ignore tests 396s ok 38 /option/arg/ignore/long 396s ok 39 /option/arg/ignore/short 396s ok 40 /option/arg/ignore/arg 396s # End of ignore tests 396s # Start of rest tests 396s ok 41 /option/arg/rest/non-option 396s ok 42 /option/arg/rest/separator1 396s ok 43 /option/arg/rest/separator2 396s ok 44 /option/arg/rest/separator3 396s ok 45 /option/arg/rest/separator4 396s ok 46 /option/arg/rest/separator5 396s # End of rest tests 396s # End of arg tests 396s # Start of context tests 396s ok 47 /option/context/add 396s ok 48 /option/context/empty2 396s ok 49 /option/context/empty3 396s # End of context tests 396s # Start of bug tests 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 396s ok 50 /option/bug/unknown-short 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 396s ok 51 /option/bug/lonely-dash 396s ok 52 /option/bug/triple-dash 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 396s ok 53 /option/bug/missing-arg 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 396s ok 54 /option/bug/dash-arg 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 396s ok 55 /option/bug/short-remaining 396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 396s ok 56 /option/bug/double-free 396s ok 57 /option/bug/double-zero 396s # End of bug tests 396s # End of option tests 396s ok - glib/option-context.test 396s # Running test: glib/gthash.test 396s TAP version 14 396s # random seed: R02S0717c3379b4f990088891324fb135bd3 396s 1..1 396s # Start of gthash tests 396s ok 1 /gthash/build-retrieve 396s # End of gthash tests 396s ok - glib/gthash.test 396s # Running test: glib/application-command-line.test 396s TAP version 14 396s # random seed: R02S5ab22eb258e0eabc249a176fcf0e6d1a 396s 1..1 396s # Start of application-command-line tests 396s ok 1 /application-command-line/basic-properties 396s # End of application-command-line tests 396s ok - glib/application-command-line.test 396s # Running test: glib/markup.test 396s TAP version 14 396s # random seed: R02S7bde5e5d3ad53169ff3784ccf93b034a 396s 1..1 396s # Start of markup tests 396s ok 1 /markup/stack 396s # End of markup tests 396s ok - glib/markup.test 396s # Running test: glib/power-profile-monitor-dbus.test 397s TAP version 13 397s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 397s 1..1 397s ok - glib/power-profile-monitor-dbus.test 397s # Running test: glib/live-g-file.test 397s TAP version 14 397s # random seed: R02Sc8611f809576eebd9a81a73cef3c8843 397s 1..13 397s # Start of live-g-file tests 397s # Cleaning target testing structure in 'testdir_live-g-file'... 397s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 397s ok 1 /live-g-file/prep_clean_structure 397s # 397s # Going to create testing structure in 'testdir_live-g-file'... 397s # Creating directory 'dir1'... 397s # Creating directory 'dir1/subdir'... 397s # Creating directory 'dir2'... 397s # Creating directory 'dir-target'... 397s # Creating directory 'dir_no-access'... 397s # Creating directory 'dir_no-write'... 397s # Creating file 'target-file'... 397s # Creating file 'normal_file'... 397s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 397s # Creating file 'executable_file'... 397s # Creating file 'private_file'... 397s # Creating file 'normal_file2'... 397s # Creating file 'readonly_file'... 397s # Creating file 'UTF_pr?i?lis? z'... 397s # Creating directory 'dir_pr?i?lis? z'... 397s # Creating symlink 'lost_symlink' --> 'nowhere'... 397s # Creating directory 'dir_hidden'... 397s # Creating file 'dir_hidden/.a-hidden-file'... 397s # Creating file 'dir_hidden/file-in-.hidden1'... 397s # Creating file 'dir_hidden/file-in-.hidden2'... 397s # Creating pattern file... 397s # done. 397s ok 2 /live-g-file/create_structure 397s # Testing sample structure in 'testdir_live-g-file'... 397s # Testing file 'dir1'... 397s # Testing file 'dir1/subdir'... 397s # Testing file 'dir2'... 397s # Testing file 'dir-target'... 397s # Testing file 'dir_no-access'... 397s # Testing file 'dir_no-write'... 397s # Testing file 'target-file'... 397s # Testing file 'normal_file'... 397s # Testing file 'normal_file-symlink'... 397s # Testing file 'executable_file'... 397s # Testing file 'private_file'... 397s # Testing file 'normal_file2'... 397s # Testing file 'readonly_file'... 397s # Testing file 'UTF_pr?i?lis? z'... 397s # Testing file 'dir_pr?i?lis? z'... 397s # Testing file 'lost_symlink'... 397s # Testing file 'dir_hidden'... 397s # Testing file 'dir_hidden/.a-hidden-file'... 397s # Testing file 'dir_hidden/file-in-.hidden1'... 397s # Testing file 'dir_hidden/file-in-.hidden2'... 397s # Testing pattern file... 397s # read 65536 bytes, total = 65536 of 65536. 397s ok 3 /live-g-file/test_initial_structure 397s # Traversing through the sample structure in 'testdir_live-g-file'... 397s # Found file dir1, relative to root: dir1 397s # Found file subdir, relative to root: dir1/subdir 397s # Found file dir2, relative to root: dir2 397s # Found file dir-target, relative to root: dir-target 397s # Found file dir_no-access, relative to root: dir_no-access 397s # Found file dir_no-write, relative to root: dir_no-write 397s # Found file target-file, relative to root: target-file 397s # Found file normal_file, relative to root: normal_file 397s # Found file normal_file-symlink, relative to root: normal_file-symlink 397s # Found file executable_file, relative to root: executable_file 397s # Found file private_file, relative to root: private_file 397s # Found file normal_file2, relative to root: normal_file2 397s # Found file readonly_file, relative to root: readonly_file 397s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 397s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 397s # Found file lost_symlink, relative to root: lost_symlink 397s # Found file dir_hidden, relative to root: dir_hidden 397s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 397s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 397s # Found file .hidden, relative to root: dir_hidden/.hidden 397s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 397s # Found file pattern_file, relative to root: pattern_file 397s ok 4 /live-g-file/test_traverse_structure 397s # Test enumerate 'testdir_live-g-file'... 397s # Testing file 'dir_no-access' 397s # Testing file 'normal_file' 397s # Testing file 'normal_file-symlink' 397s # Testing file 'not_exists' 397s # Testing file 'not_exists' 397s # Testing file 'not_exists2' 397s # Testing file 'not_exists3' 397s # Testing file 'not_exists4' 397s # Testing file 'dir_no-execute/file' 397s ok 5 /live-g-file/test_enumerate 397s # test_open: 'dir1' 397s # test_open: 'dir_no-access' 397s # test_open: 'target-file' 397s # test_open: 'normal_file-symlink' 397s # test_open: 'executable_file' 397s # test_open: 'private_file' 397s # test_open: 'readonly_file' 397s # test_open: 'UTF_pr?i?lis? z' 397s # test_open: 'pattern_file' 397s # test_open: 'not_exists' 397s # test_open: 'dir_no-execute/file' 397s # test_open: 'lost_symlink' 397s ok 6 /live-g-file/test_open 397s # test_create: 'dir1' 397s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir1?: Is a directory 397s # test_create: 'dir1/subdir' 397s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir1/subdir?: Is a directory 397s # test_create: 'dir2' 397s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir2?: File exists 397s # test_create: 'normal_file' 397s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/normal_file?: File exists 397s # test_create: 'executable_file' 397s # test_create: 'private_file' 397s # test_create: 'normal_file2' 397s # test_create: 'UTF_pr?i?lis? z' 397s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 397s # test_create: 'dir_pr?i?lis? z' 397s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 397s # test_create: 'pattern_file' 397s # test_create: 'not_exists2' 397s # test_create: 'not_exists3' 397s # test_create: 'not_exists4' 397s ok 7 /live-g-file/test_create 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> 'dir-target' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> '.' 397s # res = 0, error code 2 = Target file exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> 'target-file' 397s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> 'not_exists' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir2' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> 'dir-target' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> '.' 397s # res = 0, error code 2 = Target file exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> 'target-file' 397s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/dir-target?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> 'not_exists' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> 'dir_no-access' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'dir-target' --> 'dir_no-write' 397s # res = 0, error code 25 = Can?t recursively copy directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/target-file?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/target-file?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'target-file' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> '.' 397s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/normal_file-symlink: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> 'target-file' 397s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 397s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 397s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 397s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/executable_file?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/executable_file?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'executable_file' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/private_file?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/private_file?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/private_file?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'private_file' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/normal_file2?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/normal_file2?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'normal_file2' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> '.' 397s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/pattern_file?: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> 'target-file' 397s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/pattern_file?: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> 'not_exists' 397s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> 'dir_no-access' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'pattern_file' --> 'dir_no-write' 397s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'dir-target' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> '.' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'target-file' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'not_exists' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'dir_no-access' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'dir_no-write' 397s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists?: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'not_exists' --> 'dir-target' 397s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> 'dir-target' 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> '.' 397s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/lost_symlink: File exists 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> 'target-file' 397s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/target-file/lost_symlink: Not a directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> 'not_exists' 397s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 397s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 397s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 397s ok 8 /live-g-file/test_copy_move 397s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir1 397s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir1: Directory not empty 397s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir2 397s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir2: No such file or directory 397s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/executable_file 397s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/readonly_file 397s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_pr?i?lis? z 397s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists 397s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists: No such file or directory 397s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists 397s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/not_exists: No such file or directory 397s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-execute/file 397s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/dir_no-execute/file: No such file or directory 397s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-Z9UAX2/testdir_live-g-file/lost_symlink 397s ok 9 /live-g-file/test_delete 397s # We do not have CAP_DAC_OVERRIDE or equivalent 397s ok 10 /live-g-file/test_make_directory_with_parents 397s # Cleaning target testing structure in 'testdir_live-g-file'... 397s # deleting 'dir1' 397s # deleting 'subdir' 397s # deleting 'dir-target' 397s # deleting 'dir2' 397s # deleting 'target-file' 397s # deleting 'normal_file-symlink' 397s # deleting 'pattern_file' 397s # deleting 'executable_file' 397s # deleting 'private_file' 397s # deleting 'normal_file2' 397s # deleting 'UTF_pr?i?lis? z' 397s # deleting 'lost_symlink' 397s # deleting 'dir_no-access' 397s # deleting 'dir_no-write' 397s # deleting 'target-file' 397s # deleting 'normal_file' 397s # deleting 'normal_file-symlink' 397s # deleting 'executable_file~' 397s # deleting 'private_file' 397s # deleting 'normal_file2~' 397s # deleting 'a' 397s # deleting 'UTF_pr?i?lis? z' 397s # deleting 'dir_hidden' 397s # deleting '.a-hidden-file' 397s # deleting 'file-in-.hidden1' 397s # deleting '.hidden' 397s # deleting 'file-in-.hidden2' 397s # deleting 'pattern_file' 397s # deleting 'normal_file2' 397s # deleting 'not_exists2' 397s # deleting 'not_exists3' 397s # deleting 'not_exists4' 397s ok 11 /live-g-file/final_clean 397s # Start of test_unix_is_mountpoint tests 397s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 397s ok 13 /live-g-file/test_unix_is_mountpoint/proc 397s # End of test_unix_is_mountpoint tests 397s # End of live-g-file tests 397s ok - glib/live-g-file.test 397s # Running test: glib/threadtests.test 397s TAP version 14 397s # random seed: R02Sef28f0a4e4d3b2f2c6c48ae15fb64ba3 397s 1..5 397s # Start of GObject tests 397s # Executing: glib/threadtests.test 397s ok 1 /GObject/threaded-object-init 398s ok 2 /GObject/threaded-weak-ref 398s # slow test /GObject/threaded-weak-ref executed in 0.85 secs 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 398s # /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 398s ok 3 /GObject/threaded-toggle-notify 398s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 398s # Start of threaded-weak-ref tests 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 398s # /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. 398s ok 5 /GObject/threaded-weak-ref/on-finalization 398s # End of threaded-weak-ref tests 398s # End of GObject tests 398s ok - glib/threadtests.test 398s # Running test: glib/data-input-stream.test 398s TAP version 14 398s # random seed: R02S17d9acb0e9c8fc1e178d99f70f3d115d 398s 1..10 398s # Start of data-input-stream tests 398s ok 1 /data-input-stream/basic 398s ok 2 /data-input-stream/read-lines-LF 398s ok 3 /data-input-stream/read-lines-LF-valid-utf8 398s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 398s ok 5 /data-input-stream/read-lines-CR 398s ok 6 /data-input-stream/read-lines-CR-LF 398s ok 7 /data-input-stream/read-lines-any 398s ok 8 /data-input-stream/read-until 398s ok 9 /data-input-stream/read-upto 398s ok 10 /data-input-stream/read-int 398s # End of data-input-stream tests 398s ok - glib/data-input-stream.test 398s # Running test: glib/bytes.test 398s TAP version 14 398s # random seed: R02S398557c3fe661045f94aa925e6774d85 398s 1..21 398s # Start of bytes tests 398s ok 1 /bytes/new 398s ok 2 /bytes/new-take 398s ok 3 /bytes/new-static 398s ok 4 /bytes/new-with-free-func 398s ok 5 /bytes/new-from-bytes 398s ok 6 /bytes/new-from-bytes-slice 398s ok 7 /bytes/new-from-bytes-shared-ref 398s ok 8 /bytes/hash 398s ok 9 /bytes/equal 398s ok 10 /bytes/compare 398s ok 11 /bytes/null 398s ok 12 /bytes/get-region 398s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 398s ok 13 /bytes/unref-null 398s # Start of to-data tests 398s ok 14 /bytes/to-data/transferred 398s ok 15 /bytes/to-data/two-refs 398s ok 16 /bytes/to-data/non-malloc 398s ok 17 /bytes/to-data/different-free-func 398s # End of to-data tests 398s # Start of to-array tests 398s ok 18 /bytes/to-array/transferred 398s ok 19 /bytes/to-array/two-refs 398s ok 20 /bytes/to-array/non-malloc 398s # Start of transferred tests 398s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 398s ok 21 /bytes/to-array/transferred/oversize 398s # End of transferred tests 398s # End of to-array tests 398s # End of bytes tests 398s ok - glib/bytes.test 398s # Running test: glib/bindinggroup.test 398s TAP version 14 398s # random seed: R02Scbc939bc4149c1f48d7f0cd091ac56a2 398s 1..11 398s # Start of GObject tests 398s # Start of BindingGroup tests 398s ok 1 /GObject/BindingGroup/invalid 398s ok 2 /GObject/BindingGroup/default 398s ok 3 /GObject/BindingGroup/bidirectional 398s ok 4 /GObject/BindingGroup/transform 398s ok 5 /GObject/BindingGroup/transform-closures 398s ok 6 /GObject/BindingGroup/same-object 398s ok 7 /GObject/BindingGroup/weak-ref-source 398s ok 8 /GObject/BindingGroup/weak-ref-target 398s ok 9 /GObject/BindingGroup/properties 398s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 398s ok 11 /GObject/BindingGroup/empty-closures 398s # End of BindingGroup tests 398s # End of GObject tests 398s ok - glib/bindinggroup.test 398s # Running test: glib/converter.test 398s TAP version 14 398s # random seed: R02Sa53228684ca1d4989c337f88a6734fcd 398s 1..1 398s # Start of converter tests 398s ok 1 /converter/bytes 398s # End of converter tests 398s ok - glib/converter.test 398s # Running test: glib/gdbus-threading.test 398s TAP version 14 398s # random seed: R02S66c3a081568217139c4f52fe11660c93 398s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 398s ok - glib/gdbus-threading.test 398s # Running test: glib/cxx-14.test 398s TAP version 14 398s # random seed: R02S36133479358c8153aece058da5a86c85 398s 1..2 398s # Start of gtask tests 398s # 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. 398s ok 1 /gtask/name 398s # Start of name tests 398s # 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. 398s ok 2 /gtask/name/macro-wrapper 398s # End of name tests 398s # End of gtask tests 398s ok - glib/cxx-14.test 398s # Running test: glib/gdbus-serialization.test 398s TAP version 14 398s # random seed: R02Sf6bfc3d7d059e155f2c2fee25838cbec 398s 1..18 398s # Start of gdbus tests 398s # Start of message-serialize tests 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/basic/.dirs/runtime 398s ok 1 /gdbus/message-serialize/basic 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/complex/.dirs/runtime 398s ok 2 /gdbus/message-serialize/complex 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/invalid/.dirs/runtime 398s ok 3 /gdbus/message-serialize/invalid 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/.dirs/runtime 398s ok 4 /gdbus/message-serialize/header-checks 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/double-array/.dirs/runtime 398s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 398s ok 5 /gdbus/message-serialize/double-array 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/empty-structure/.dirs/runtime 398s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 398s ok 6 /gdbus/message-serialize/empty-structure 398s # Start of header-checks tests 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 398s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 398s ok 7 /gdbus/message-serialize/header-checks/valid 398s # End of header-checks tests 398s # End of message-serialize tests 398s # Start of message-parse tests 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 398s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 398s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/non-signature-header/.dirs/runtime 398s ok 9 /gdbus/message-parse/non-signature-header 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-signature-header/.dirs/runtime 398s ok 10 /gdbus/message-parse/empty-signature-header 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 398s ok 11 /gdbus/message-parse/multiple-signature-header 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 398s ok 12 /gdbus/message-parse/over-long-signature-header 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 398s ok 13 /gdbus/message-parse/deep-header-nesting 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 398s ok 14 /gdbus/message-parse/deep-body-nesting 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/truncated/.dirs/runtime 398s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 398s ok 15 /gdbus/message-parse/truncated 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/empty-structure/.dirs/runtime 398s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 398s ok 16 /gdbus/message-parse/empty-structure 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/missing-header/.dirs/runtime 398s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 398s ok 17 /gdbus/message-parse/missing-header 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_UUYJX2/gdbus/message-parse/invalid-header-type/.dirs/runtime 398s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 398s ok 18 /gdbus/message-parse/invalid-header-type 398s # End of message-parse tests 398s # End of gdbus tests 398s ok - glib/gdbus-serialization.test 398s # Running test: glib/atomic-c-89.test 398s TAP version 14 398s # random seed: R02S2662d04fd2644a4faa9d450088e121a9 398s 1..2 398s # Start of atomic tests 398s ok 1 /atomic/types 398s ok 2 /atomic/threaded 398s # End of atomic tests 398s ok - glib/atomic-c-89.test 398s # Running test: glib/gdbus-proxy-threads.test 398s TAP version 14 398s # random seed: R02S12dafdfff1e57aed6609d199c7e37574 398s 1..1 398s # Start of gdbus tests 398s # Start of proxy tests 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_TEEBX2/gdbus/proxy/vs-threads/.dirs/runtime 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 400s ok 1 /gdbus/proxy/vs-threads 400s # slow test /gdbus/proxy/vs-threads executed in 1.20 secs 400s # End of proxy tests 400s # End of gdbus tests 400s cleaning up pid 10183 400s ok - glib/gdbus-proxy-threads.test 400s # Running test: glib/objects-refcount1.test 400s TAP version 14 400s # random seed: R02Sc03dd4c13f0a2ed62ee94ca4851e3ef1 400s 1..1 400s # Start of gobject tests 400s # Start of refcount tests 400s # init 0x5b06429a4740 400s # 400s # init 0x5b06429a48d0 400s # 402s # Executing: glib/objects-refcount1.test 405s # dispose 0x5b06429a4740! 405s # 405s # dispose 0x5b06429a48d0! 405s # 405s ok 1 /gobject/refcount/object-basics 405s # slow test /gobject/refcount/object-basics executed in 5.00 secs 405s # End of refcount tests 405s # End of gobject tests 405s ok - glib/objects-refcount1.test 405s # Running test: glib/overflow.test 405s TAP version 14 405s # random seed: R02Sf2c2c53129ca6aee1e9ee213c698a7f0 405s 1..6 405s # Start of glib tests 405s # Start of checked-math tests 405s ok 1 /glib/checked-math/guint-add 405s ok 2 /glib/checked-math/guint-mul 405s ok 3 /glib/checked-math/guint64-add 405s ok 4 /glib/checked-math/guint64-mul 405s ok 5 /glib/checked-math/gsize-add 405s ok 6 /glib/checked-math/gsize-mul 405s # End of checked-math tests 405s # End of glib tests 405s ok - glib/overflow.test 405s # Running test: glib/file-thumbnail.test 405s TAP version 14 405s # random seed: R02S3806b0deb4a513200cadbb12f9b5a686 405s 1..7 405s # Start of file-thumbnail tests 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/runtime 405s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 405s ok 1 /file-thumbnail/fail 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 405s ok 2 /file-thumbnail/size-priority 405s # Start of valid tests 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 405s ok 3 /file-thumbnail/valid/normal 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 405s ok 4 /file-thumbnail/valid/large 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 405s ok 5 /file-thumbnail/valid/x-large 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 405s ok 6 /file-thumbnail/valid/xx-large 405s # End of valid tests 405s # Start of unknown tests 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/runtime 405s # Created test thumbnail at /tmp/test_file-thumbnail_DSR6W2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 405s ok 7 /file-thumbnail/unknown/super-large 405s # End of unknown tests 405s # End of file-thumbnail tests 405s ok - glib/file-thumbnail.test 405s # Running test: glib/slice.test 405s TAP version 14 405s # random seed: R02Se9740ef7bb2357f6a9bb1c79090d9de0 405s 1..3 405s # Start of slice tests 405s ok 1 /slice/copy 405s ok 2 /slice/chain 405s ok 3 /slice/allocate 405s # End of slice tests 405s ok - glib/slice.test 405s # Running test: glib/gdbus-test-codegen-old.test 405s TAP version 14 405s # random seed: R02Se1cae61dffe71c4a40a02b55c5c17519 405s 1..8 405s # Start of gdbus tests 405s # Start of codegen tests 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/annotations/.dirs/runtime 405s ok 1 /gdbus/codegen/annotations 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/interface_stability/.dirs/runtime 405s ok 2 /gdbus/codegen/interface_stability 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/object-manager/.dirs/runtime 405s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 405s ok 3 /gdbus/codegen/object-manager 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/property-naming/.dirs/runtime 405s ok 4 /gdbus/codegen/property-naming 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/autocleanups/.dirs/runtime 405s ok 5 /gdbus/codegen/autocleanups 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/deprecations/.dirs/runtime 405s ok 6 /gdbus/codegen/deprecations 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 405s ok 7 /gdbus/codegen/standalone-interface-info 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3NL2W2/gdbus/codegen/unix-fd-list/.dirs/runtime 405s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 405s ok 8 /gdbus/codegen/unix-fd-list 405s # End of codegen tests 405s # End of gdbus tests 405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 405s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 405s ok - glib/gdbus-test-codegen-old.test 405s # Running test: glib/boxed.test 405s TAP version 14 405s # random seed: R02Se21394910ad673f137e8599c69fa086a 405s 1..27 405s # Start of boxed tests 405s ok 1 /boxed/define 405s ok 2 /boxed/ownership 405s ok 3 /boxed/closure 405s ok 4 /boxed/date 405s ok 5 /boxed/value 405s ok 6 /boxed/string 405s ok 7 /boxed/hashtable 405s ok 8 /boxed/array 405s ok 9 /boxed/ptrarray 405s ok 10 /boxed/regex 405s ok 11 /boxed/varianttype 405s ok 12 /boxed/error 405s ok 13 /boxed/datetime 405s ok 14 /boxed/matchinfo 405s ok 15 /boxed/keyfile 405s ok 16 /boxed/mainloop 405s ok 17 /boxed/maincontext 405s ok 18 /boxed/source 405s ok 19 /boxed/variantbuilder 405s ok 20 /boxed/timezone 405s ok 21 /boxed/pollfd 405s ok 22 /boxed/markup 405s ok 23 /boxed/thread 405s ok 24 /boxed/checksum 405s ok 25 /boxed/tree 405s ok 26 /boxed/patternspec 405s ok 27 /boxed/rand 405s # End of boxed tests 405s ok - glib/boxed.test 405s # Running test: glib/642026.test 405s TAP version 14 405s # random seed: R02S5d0688e17fb88767a90bffb75ae6dd9a 405s 1..1 405s # Start of glib tests 405s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 405s ok 1 /glib/642026 405s # End of glib tests 405s ok - glib/642026.test 405s # Running test: glib/array-test.test 405s TAP version 14 405s # random seed: R02Se62aa0cf03b921a663f7443d6b643aed 405s 1..113 405s # Start of array tests 405s ok 1 /array/ref-count 405s ok 2 /array/steal 405s ok 3 /array/clear-func 405s ok 4 /array/binary-search 405s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 405s ok 5 /array/copy-sized 405s ok 6 /array/overflow-append-vals 405s ok 7 /array/overflow-set-size 405s # Start of new tests 405s ok 8 /array/new/zero-terminated 405s ok 9 /array/new/take 405s ok 10 /array/new/take-zero-terminated 405s # Start of take tests 405s ok 11 /array/new/take/empty 405s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 405s # End of take tests 405s # End of new tests 405s # Start of set-size tests 405s ok 13 /array/set-size/non-zero-terminated-no-clear 405s ok 14 /array/set-size/non-zero-terminated-clear 405s ok 15 /array/set-size/zero-terminated-no-clear 405s ok 16 /array/set-size/zero-terminated-clear 405s # Start of sized tests 405s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 405s ok 18 /array/set-size/sized/non-zero-terminated-clear 405s ok 19 /array/set-size/sized/zero-terminated-no-clear 405s ok 20 /array/set-size/sized/zero-terminated-clear 405s # End of sized tests 405s # End of set-size tests 405s # Start of append-val tests 405s ok 21 /array/append-val/non-zero-terminated-no-clear 405s ok 22 /array/append-val/non-zero-terminated-clear 405s ok 23 /array/append-val/zero-terminated-no-clear 405s ok 24 /array/append-val/zero-terminated-clear 405s # End of append-val tests 405s # Start of prepend-val tests 405s ok 25 /array/prepend-val/non-zero-terminated-no-clear 405s ok 26 /array/prepend-val/non-zero-terminated-clear 405s ok 27 /array/prepend-val/zero-terminated-no-clear 405s ok 28 /array/prepend-val/zero-terminated-clear 405s # End of prepend-val tests 405s # Start of prepend-vals tests 405s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 405s ok 30 /array/prepend-vals/non-zero-terminated-clear 405s ok 31 /array/prepend-vals/zero-terminated-no-clear 405s ok 32 /array/prepend-vals/zero-terminated-clear 405s # End of prepend-vals tests 405s # Start of insert-vals tests 405s ok 33 /array/insert-vals/non-zero-terminated-no-clear 405s ok 34 /array/insert-vals/non-zero-terminated-clear 405s ok 35 /array/insert-vals/zero-terminated-no-clear 405s ok 36 /array/insert-vals/zero-terminated-clear 405s # End of insert-vals tests 405s # Start of remove-index tests 405s ok 37 /array/remove-index/non-zero-terminated-no-clear 405s ok 38 /array/remove-index/non-zero-terminated-clear 405s ok 39 /array/remove-index/zero-terminated-no-clear 405s ok 40 /array/remove-index/zero-terminated-clear 405s # End of remove-index tests 405s # Start of remove-index-fast tests 405s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 405s ok 42 /array/remove-index-fast/non-zero-terminated-clear 405s ok 43 /array/remove-index-fast/zero-terminated-no-clear 405s ok 44 /array/remove-index-fast/zero-terminated-clear 405s # End of remove-index-fast tests 405s # Start of remove-range tests 405s ok 45 /array/remove-range/non-zero-terminated-no-clear 405s ok 46 /array/remove-range/non-zero-terminated-clear 405s ok 47 /array/remove-range/zero-terminated-no-clear 405s ok 48 /array/remove-range/zero-terminated-clear 405s # End of remove-range tests 405s # Start of copy tests 405s ok 49 /array/copy/non-zero-terminated-no-clear 405s ok 50 /array/copy/non-zero-terminated-clear 405s ok 51 /array/copy/zero-terminated-no-clear 405s ok 52 /array/copy/zero-terminated-clear 405s # End of copy tests 405s # Start of sort tests 405s ok 53 /array/sort/non-zero-terminated-no-clear 405s ok 54 /array/sort/non-zero-terminated-clear 405s ok 55 /array/sort/zero-terminated-no-clear 405s ok 56 /array/sort/zero-terminated-clear 405s # End of sort tests 405s # Start of sort-with-data tests 405s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 405s ok 58 /array/sort-with-data/non-zero-terminated-clear 405s ok 59 /array/sort-with-data/zero-terminated-no-clear 405s ok 60 /array/sort-with-data/zero-terminated-clear 405s # End of sort-with-data tests 405s # End of array tests 405s # Start of pointerarray tests 405s ok 61 /pointerarray/add 405s ok 62 /pointerarray/insert 405s ok 63 /pointerarray/new-take 405s ok 64 /pointerarray/new-take-null-terminated 405s ok 65 /pointerarray/new-from-array 405s ok 66 /pointerarray/new-from-null-terminated-array 405s ok 67 /pointerarray/free-func 405s ok 68 /pointerarray/array_extend_and_steal 405s ok 69 /pointerarray/sort 405s ok 70 /pointerarray/sort-with-data 405s ok 71 /pointerarray/sort-values 405s ok 72 /pointerarray/sort-values-with-data 405s ok 73 /pointerarray/remove-range 405s ok 74 /pointerarray/steal 405s # Start of free tests 405s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 405s ok 75 /pointerarray/free/null-terminated 405s # End of free tests 405s # Start of new-take tests 405s ok 76 /pointerarray/new-take/empty 405s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 405s ok 78 /pointerarray/new-take/with-free-func 405s # End of new-take tests 405s # Start of new-take-null-terminated tests 405s ok 79 /pointerarray/new-take-null-terminated/empty 405s ok 80 /pointerarray/new-take-null-terminated/with-free-func 405s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 405s # End of new-take-null-terminated tests 405s # Start of new-from-array tests 405s ok 82 /pointerarray/new-from-array/empty 405s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 405s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 405s # End of new-from-array tests 405s # Start of new-from-null-terminated-array tests 405s ok 85 /pointerarray/new-from-null-terminated-array/empty 405s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 405s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 405s # End of new-from-null-terminated-array tests 405s # Start of ref-count tests 405s ok 88 /pointerarray/ref-count/not-null-terminated 405s ok 89 /pointerarray/ref-count/null-terminated 405s # End of ref-count tests 405s # Start of array_copy tests 405s # /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 405s ok 90 /pointerarray/array_copy/not-null-terminated 405s # /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 405s ok 91 /pointerarray/array_copy/null-terminated 405s # End of array_copy tests 405s # Start of array_extend tests 405s ok 92 /pointerarray/array_extend/not-null-terminated 405s ok 93 /pointerarray/array_extend/null-terminated 405s # End of array_extend tests 405s # Start of sort tests 405s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 405s ok 94 /pointerarray/sort/example 405s # End of sort tests 405s # Start of sort-with-data tests 405s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 405s ok 95 /pointerarray/sort-with-data/example 405s # End of sort-with-data tests 405s # Start of sort-values tests 405s ok 96 /pointerarray/sort-values/example 405s # End of sort-values tests 405s # Start of sort-values-with-data tests 405s ok 97 /pointerarray/sort-values-with-data/example 405s # End of sort-values-with-data tests 405s # Start of find tests 405s ok 98 /pointerarray/find/empty 405s ok 99 /pointerarray/find/non-empty 405s # End of find tests 405s # Start of steal_index tests 405s ok 100 /pointerarray/steal_index/not-null-terminated 405s ok 101 /pointerarray/steal_index/null-terminated 405s # End of steal_index tests 405s # End of pointerarray tests 405s # Start of bytearray tests 405s ok 102 /bytearray/steal 405s ok 103 /bytearray/append 405s ok 104 /bytearray/prepend 405s ok 105 /bytearray/remove 405s ok 106 /bytearray/remove-fast 405s ok 107 /bytearray/remove-range 405s ok 108 /bytearray/ref-count 405s ok 109 /bytearray/sort 405s ok 110 /bytearray/sort-with-data 405s ok 111 /bytearray/new-take 405s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 405s ok 113 /bytearray/free-to-bytes 405s # End of bytearray tests 405s ok - glib/array-test.test 405s # Running test: glib/checksum.test 405s TAP version 14 405s # random seed: R02S91317478d6df8a2ab4b7e5e80b877209 405s 1..1851 405s # Start of checksum tests 405s ok 1 /checksum/unsupported 405s # Start of MD5 tests 405s ok 2 /checksum/MD5/0 405s ok 3 /checksum/MD5/1 405s ok 4 /checksum/MD5/2 405s ok 5 /checksum/MD5/3 405s ok 6 /checksum/MD5/4 405s ok 7 /checksum/MD5/5 405s ok 8 /checksum/MD5/6 405s ok 9 /checksum/MD5/7 405s ok 10 /checksum/MD5/8 405s ok 11 /checksum/MD5/9 405s ok 12 /checksum/MD5/10 405s ok 13 /checksum/MD5/11 405s ok 14 /checksum/MD5/12 405s ok 15 /checksum/MD5/13 405s ok 16 /checksum/MD5/14 405s ok 17 /checksum/MD5/15 405s ok 18 /checksum/MD5/16 405s ok 19 /checksum/MD5/17 405s ok 20 /checksum/MD5/18 405s ok 21 /checksum/MD5/19 405s ok 22 /checksum/MD5/20 405s ok 23 /checksum/MD5/21 405s ok 24 /checksum/MD5/22 405s ok 25 /checksum/MD5/23 405s ok 26 /checksum/MD5/24 405s ok 27 /checksum/MD5/25 405s ok 28 /checksum/MD5/26 405s ok 29 /checksum/MD5/27 405s ok 30 /checksum/MD5/28 405s ok 31 /checksum/MD5/29 405s ok 32 /checksum/MD5/30 405s ok 33 /checksum/MD5/31 405s ok 34 /checksum/MD5/32 405s ok 35 /checksum/MD5/33 405s ok 36 /checksum/MD5/34 405s ok 37 /checksum/MD5/35 405s ok 38 /checksum/MD5/36 405s ok 39 /checksum/MD5/37 405s ok 40 /checksum/MD5/38 405s ok 41 /checksum/MD5/39 405s ok 42 /checksum/MD5/40 405s ok 43 /checksum/MD5/41 405s ok 44 /checksum/MD5/42 405s ok 45 /checksum/MD5/43 405s ok 46 /checksum/MD5/44 405s ok 47 /checksum/MD5/45 405s ok 48 /checksum/MD5/46 405s ok 49 /checksum/MD5/47 405s ok 50 /checksum/MD5/48 405s ok 51 /checksum/MD5/49 405s ok 52 /checksum/MD5/50 405s ok 53 /checksum/MD5/51 405s ok 54 /checksum/MD5/52 405s ok 55 /checksum/MD5/53 405s ok 56 /checksum/MD5/54 405s ok 57 /checksum/MD5/55 405s ok 58 /checksum/MD5/56 405s ok 59 /checksum/MD5/57 405s ok 60 /checksum/MD5/58 405s ok 61 /checksum/MD5/59 405s ok 62 /checksum/MD5/60 405s ok 63 /checksum/MD5/61 405s ok 64 /checksum/MD5/62 405s ok 65 /checksum/MD5/63 405s ok 66 /checksum/MD5/64 405s ok 67 /checksum/MD5/65 405s ok 68 /checksum/MD5/66 405s ok 69 /checksum/MD5/67 405s ok 70 /checksum/MD5/68 405s ok 71 /checksum/MD5/69 405s ok 72 /checksum/MD5/70 405s ok 73 /checksum/MD5/71 405s ok 74 /checksum/MD5/72 405s ok 75 /checksum/MD5/73 405s ok 76 /checksum/MD5/74 405s ok 77 /checksum/MD5/75 405s ok 78 /checksum/MD5/76 405s ok 79 /checksum/MD5/77 405s ok 80 /checksum/MD5/78 405s ok 81 /checksum/MD5/79 405s ok 82 /checksum/MD5/80 405s ok 83 /checksum/MD5/81 405s ok 84 /checksum/MD5/82 405s ok 85 /checksum/MD5/83 405s ok 86 /checksum/MD5/84 405s ok 87 /checksum/MD5/85 405s ok 88 /checksum/MD5/86 405s ok 89 /checksum/MD5/87 405s ok 90 /checksum/MD5/88 405s ok 91 /checksum/MD5/89 405s ok 92 /checksum/MD5/90 405s ok 93 /checksum/MD5/91 405s ok 94 /checksum/MD5/92 405s ok 95 /checksum/MD5/93 405s ok 96 /checksum/MD5/94 405s ok 97 /checksum/MD5/95 405s ok 98 /checksum/MD5/96 405s ok 99 /checksum/MD5/97 405s ok 100 /checksum/MD5/98 405s ok 101 /checksum/MD5/99 405s ok 102 /checksum/MD5/100 405s ok 103 /checksum/MD5/101 405s ok 104 /checksum/MD5/102 405s ok 105 /checksum/MD5/103 405s ok 106 /checksum/MD5/104 405s ok 107 /checksum/MD5/105 405s ok 108 /checksum/MD5/106 405s ok 109 /checksum/MD5/107 405s ok 110 /checksum/MD5/108 405s ok 111 /checksum/MD5/109 405s ok 112 /checksum/MD5/110 405s ok 113 /checksum/MD5/111 405s ok 114 /checksum/MD5/112 405s ok 115 /checksum/MD5/113 405s ok 116 /checksum/MD5/114 405s ok 117 /checksum/MD5/115 405s ok 118 /checksum/MD5/116 405s ok 119 /checksum/MD5/117 405s ok 120 /checksum/MD5/118 405s ok 121 /checksum/MD5/119 405s ok 122 /checksum/MD5/120 405s ok 123 /checksum/MD5/121 405s ok 124 /checksum/MD5/122 405s ok 125 /checksum/MD5/123 405s ok 126 /checksum/MD5/124 405s ok 127 /checksum/MD5/125 405s ok 128 /checksum/MD5/126 405s ok 129 /checksum/MD5/127 405s ok 130 /checksum/MD5/128 405s ok 131 /checksum/MD5/129 405s ok 132 /checksum/MD5/130 405s ok 133 /checksum/MD5/131 405s ok 134 /checksum/MD5/132 405s ok 135 /checksum/MD5/133 405s ok 136 /checksum/MD5/134 405s ok 137 /checksum/MD5/135 405s ok 138 /checksum/MD5/136 405s ok 139 /checksum/MD5/137 405s ok 140 /checksum/MD5/138 405s ok 141 /checksum/MD5/139 405s ok 142 /checksum/MD5/140 405s ok 143 /checksum/MD5/141 405s ok 144 /checksum/MD5/142 405s ok 145 /checksum/MD5/143 405s ok 146 /checksum/MD5/144 405s ok 147 /checksum/MD5/145 405s ok 148 /checksum/MD5/146 405s ok 149 /checksum/MD5/147 405s ok 150 /checksum/MD5/148 405s ok 151 /checksum/MD5/149 405s ok 152 /checksum/MD5/150 405s ok 153 /checksum/MD5/151 405s ok 154 /checksum/MD5/152 405s ok 155 /checksum/MD5/153 405s ok 156 /checksum/MD5/154 405s ok 157 /checksum/MD5/155 405s ok 158 /checksum/MD5/156 405s ok 159 /checksum/MD5/157 405s ok 160 /checksum/MD5/158 405s ok 161 /checksum/MD5/159 405s ok 162 /checksum/MD5/160 405s ok 163 /checksum/MD5/161 405s ok 164 /checksum/MD5/162 405s ok 165 /checksum/MD5/163 405s ok 166 /checksum/MD5/164 405s ok 167 /checksum/MD5/165 405s ok 168 /checksum/MD5/166 405s ok 169 /checksum/MD5/167 405s ok 170 /checksum/MD5/168 405s ok 171 /checksum/MD5/169 405s ok 172 /checksum/MD5/170 405s ok 173 /checksum/MD5/171 405s ok 174 /checksum/MD5/172 405s ok 175 /checksum/MD5/173 405s ok 176 /checksum/MD5/174 405s ok 177 /checksum/MD5/175 405s ok 178 /checksum/MD5/176 405s ok 179 /checksum/MD5/177 405s ok 180 /checksum/MD5/178 405s ok 181 /checksum/MD5/179 405s ok 182 /checksum/MD5/180 405s ok 183 /checksum/MD5/181 405s ok 184 /checksum/MD5/182 405s ok 185 /checksum/MD5/183 405s ok 186 /checksum/MD5/string 405s ok 187 /checksum/MD5/bytes 405s # Start of reset tests 405s ok 188 /checksum/MD5/reset/0 405s ok 189 /checksum/MD5/reset/1 405s ok 190 /checksum/MD5/reset/2 405s ok 191 /checksum/MD5/reset/3 405s ok 192 /checksum/MD5/reset/4 405s ok 193 /checksum/MD5/reset/5 405s ok 194 /checksum/MD5/reset/6 405s ok 195 /checksum/MD5/reset/7 405s ok 196 /checksum/MD5/reset/8 405s ok 197 /checksum/MD5/reset/9 405s ok 198 /checksum/MD5/reset/10 405s ok 199 /checksum/MD5/reset/11 405s ok 200 /checksum/MD5/reset/12 405s ok 201 /checksum/MD5/reset/13 405s ok 202 /checksum/MD5/reset/14 405s ok 203 /checksum/MD5/reset/15 405s ok 204 /checksum/MD5/reset/16 405s ok 205 /checksum/MD5/reset/17 405s ok 206 /checksum/MD5/reset/18 405s ok 207 /checksum/MD5/reset/19 405s ok 208 /checksum/MD5/reset/20 405s ok 209 /checksum/MD5/reset/21 405s ok 210 /checksum/MD5/reset/22 405s ok 211 /checksum/MD5/reset/23 405s ok 212 /checksum/MD5/reset/24 405s ok 213 /checksum/MD5/reset/25 405s ok 214 /checksum/MD5/reset/26 405s ok 215 /checksum/MD5/reset/27 405s ok 216 /checksum/MD5/reset/28 405s ok 217 /checksum/MD5/reset/29 405s ok 218 /checksum/MD5/reset/30 405s ok 219 /checksum/MD5/reset/31 405s ok 220 /checksum/MD5/reset/32 405s ok 221 /checksum/MD5/reset/33 405s ok 222 /checksum/MD5/reset/34 405s ok 223 /checksum/MD5/reset/35 405s ok 224 /checksum/MD5/reset/36 405s ok 225 /checksum/MD5/reset/37 405s ok 226 /checksum/MD5/reset/38 405s ok 227 /checksum/MD5/reset/39 405s ok 228 /checksum/MD5/reset/40 405s ok 229 /checksum/MD5/reset/41 405s ok 230 /checksum/MD5/reset/42 405s ok 231 /checksum/MD5/reset/43 405s ok 232 /checksum/MD5/reset/44 405s ok 233 /checksum/MD5/reset/45 405s ok 234 /checksum/MD5/reset/46 405s ok 235 /checksum/MD5/reset/47 405s ok 236 /checksum/MD5/reset/48 405s ok 237 /checksum/MD5/reset/49 405s ok 238 /checksum/MD5/reset/50 405s ok 239 /checksum/MD5/reset/51 405s ok 240 /checksum/MD5/reset/52 405s ok 241 /checksum/MD5/reset/53 405s ok 242 /checksum/MD5/reset/54 405s ok 243 /checksum/MD5/reset/55 405s ok 244 /checksum/MD5/reset/56 405s ok 245 /checksum/MD5/reset/57 405s ok 246 /checksum/MD5/reset/58 405s ok 247 /checksum/MD5/reset/59 405s ok 248 /checksum/MD5/reset/60 405s ok 249 /checksum/MD5/reset/61 405s ok 250 /checksum/MD5/reset/62 405s ok 251 /checksum/MD5/reset/63 405s ok 252 /checksum/MD5/reset/64 405s ok 253 /checksum/MD5/reset/65 405s ok 254 /checksum/MD5/reset/66 405s ok 255 /checksum/MD5/reset/67 405s ok 256 /checksum/MD5/reset/68 405s ok 257 /checksum/MD5/reset/69 405s ok 258 /checksum/MD5/reset/70 405s ok 259 /checksum/MD5/reset/71 405s ok 260 /checksum/MD5/reset/72 405s ok 261 /checksum/MD5/reset/73 405s ok 262 /checksum/MD5/reset/74 405s ok 263 /checksum/MD5/reset/75 405s ok 264 /checksum/MD5/reset/76 405s ok 265 /checksum/MD5/reset/77 405s ok 266 /checksum/MD5/reset/78 405s ok 267 /checksum/MD5/reset/79 405s ok 268 /checksum/MD5/reset/80 405s ok 269 /checksum/MD5/reset/81 405s ok 270 /checksum/MD5/reset/82 405s ok 271 /checksum/MD5/reset/83 405s ok 272 /checksum/MD5/reset/84 405s ok 273 /checksum/MD5/reset/85 405s ok 274 /checksum/MD5/reset/86 405s ok 275 /checksum/MD5/reset/87 405s ok 276 /checksum/MD5/reset/88 405s ok 277 /checksum/MD5/reset/89 405s ok 278 /checksum/MD5/reset/90 405s ok 279 /checksum/MD5/reset/91 405s ok 280 /checksum/MD5/reset/92 405s ok 281 /checksum/MD5/reset/93 405s ok 282 /checksum/MD5/reset/94 405s ok 283 /checksum/MD5/reset/95 405s ok 284 /checksum/MD5/reset/96 405s ok 285 /checksum/MD5/reset/97 405s ok 286 /checksum/MD5/reset/98 405s ok 287 /checksum/MD5/reset/99 405s ok 288 /checksum/MD5/reset/100 405s ok 289 /checksum/MD5/reset/101 405s ok 290 /checksum/MD5/reset/102 405s ok 291 /checksum/MD5/reset/103 405s ok 292 /checksum/MD5/reset/104 405s ok 293 /checksum/MD5/reset/105 405s ok 294 /checksum/MD5/reset/106 405s ok 295 /checksum/MD5/reset/107 405s ok 296 /checksum/MD5/reset/108 405s ok 297 /checksum/MD5/reset/109 405s ok 298 /checksum/MD5/reset/110 405s ok 299 /checksum/MD5/reset/111 405s ok 300 /checksum/MD5/reset/112 405s ok 301 /checksum/MD5/reset/113 405s ok 302 /checksum/MD5/reset/114 405s ok 303 /checksum/MD5/reset/115 405s ok 304 /checksum/MD5/reset/116 405s ok 305 /checksum/MD5/reset/117 405s ok 306 /checksum/MD5/reset/118 405s ok 307 /checksum/MD5/reset/119 405s ok 308 /checksum/MD5/reset/120 405s ok 309 /checksum/MD5/reset/121 405s ok 310 /checksum/MD5/reset/122 405s ok 311 /checksum/MD5/reset/123 405s ok 312 /checksum/MD5/reset/124 405s ok 313 /checksum/MD5/reset/125 405s ok 314 /checksum/MD5/reset/126 405s ok 315 /checksum/MD5/reset/127 405s ok 316 /checksum/MD5/reset/128 405s ok 317 /checksum/MD5/reset/129 405s ok 318 /checksum/MD5/reset/130 405s ok 319 /checksum/MD5/reset/131 405s ok 320 /checksum/MD5/reset/132 405s ok 321 /checksum/MD5/reset/133 405s ok 322 /checksum/MD5/reset/134 405s ok 323 /checksum/MD5/reset/135 405s ok 324 /checksum/MD5/reset/136 405s ok 325 /checksum/MD5/reset/137 405s ok 326 /checksum/MD5/reset/138 405s ok 327 /checksum/MD5/reset/139 405s ok 328 /checksum/MD5/reset/140 405s ok 329 /checksum/MD5/reset/141 405s ok 330 /checksum/MD5/reset/142 405s ok 331 /checksum/MD5/reset/143 405s ok 332 /checksum/MD5/reset/144 405s ok 333 /checksum/MD5/reset/145 405s ok 334 /checksum/MD5/reset/146 405s ok 335 /checksum/MD5/reset/147 405s ok 336 /checksum/MD5/reset/148 405s ok 337 /checksum/MD5/reset/149 405s ok 338 /checksum/MD5/reset/150 405s ok 339 /checksum/MD5/reset/151 405s ok 340 /checksum/MD5/reset/152 405s ok 341 /checksum/MD5/reset/153 405s ok 342 /checksum/MD5/reset/154 405s ok 343 /checksum/MD5/reset/155 405s ok 344 /checksum/MD5/reset/156 405s ok 345 /checksum/MD5/reset/157 405s ok 346 /checksum/MD5/reset/158 405s ok 347 /checksum/MD5/reset/159 405s ok 348 /checksum/MD5/reset/160 405s ok 349 /checksum/MD5/reset/161 405s ok 350 /checksum/MD5/reset/162 405s ok 351 /checksum/MD5/reset/163 405s ok 352 /checksum/MD5/reset/164 405s ok 353 /checksum/MD5/reset/165 405s ok 354 /checksum/MD5/reset/166 405s ok 355 /checksum/MD5/reset/167 405s ok 356 /checksum/MD5/reset/168 405s ok 357 /checksum/MD5/reset/169 405s ok 358 /checksum/MD5/reset/170 405s ok 359 /checksum/MD5/reset/171 405s ok 360 /checksum/MD5/reset/172 405s ok 361 /checksum/MD5/reset/173 405s ok 362 /checksum/MD5/reset/174 405s ok 363 /checksum/MD5/reset/175 405s ok 364 /checksum/MD5/reset/176 405s ok 365 /checksum/MD5/reset/177 405s ok 366 /checksum/MD5/reset/178 405s ok 367 /checksum/MD5/reset/179 405s ok 368 /checksum/MD5/reset/180 405s ok 369 /checksum/MD5/reset/181 405s ok 370 /checksum/MD5/reset/182 405s ok 371 /checksum/MD5/reset/183 405s # End of reset tests 405s # End of MD5 tests 405s # Start of SHA1 tests 405s ok 372 /checksum/SHA1/0 405s ok 373 /checksum/SHA1/1 405s ok 374 /checksum/SHA1/2 405s ok 375 /checksum/SHA1/3 405s ok 376 /checksum/SHA1/4 405s ok 377 /checksum/SHA1/5 405s ok 378 /checksum/SHA1/6 405s ok 379 /checksum/SHA1/7 405s ok 380 /checksum/SHA1/8 405s ok 381 /checksum/SHA1/9 405s ok 382 /checksum/SHA1/10 405s ok 383 /checksum/SHA1/11 405s ok 384 /checksum/SHA1/12 405s ok 385 /checksum/SHA1/13 405s ok 386 /checksum/SHA1/14 405s ok 387 /checksum/SHA1/15 405s ok 388 /checksum/SHA1/16 405s ok 389 /checksum/SHA1/17 405s ok 390 /checksum/SHA1/18 405s ok 391 /checksum/SHA1/19 405s ok 392 /checksum/SHA1/20 405s ok 393 /checksum/SHA1/21 405s ok 394 /checksum/SHA1/22 405s ok 395 /checksum/SHA1/23 405s ok 396 /checksum/SHA1/24 405s ok 397 /checksum/SHA1/25 405s ok 398 /checksum/SHA1/26 405s ok 399 /checksum/SHA1/27 405s ok 400 /checksum/SHA1/28 405s ok 401 /checksum/SHA1/29 405s ok 402 /checksum/SHA1/30 405s ok 403 /checksum/SHA1/31 405s ok 404 /checksum/SHA1/32 405s ok 405 /checksum/SHA1/33 405s ok 406 /checksum/SHA1/34 405s ok 407 /checksum/SHA1/35 405s ok 408 /checksum/SHA1/36 405s ok 409 /checksum/SHA1/37 405s ok 410 /checksum/SHA1/38 405s ok 411 /checksum/SHA1/39 405s ok 412 /checksum/SHA1/40 405s ok 413 /checksum/SHA1/41 405s ok 414 /checksum/SHA1/42 405s ok 415 /checksum/SHA1/43 405s ok 416 /checksum/SHA1/44 405s ok 417 /checksum/SHA1/45 405s ok 418 /checksum/SHA1/46 405s ok 419 /checksum/SHA1/47 405s ok 420 /checksum/SHA1/48 405s ok 421 /checksum/SHA1/49 405s ok 422 /checksum/SHA1/50 405s ok 423 /checksum/SHA1/51 405s ok 424 /checksum/SHA1/52 405s ok 425 /checksum/SHA1/53 405s ok 426 /checksum/SHA1/54 405s ok 427 /checksum/SHA1/55 405s ok 428 /checksum/SHA1/56 405s ok 429 /checksum/SHA1/57 405s ok 430 /checksum/SHA1/58 405s ok 431 /checksum/SHA1/59 405s ok 432 /checksum/SHA1/60 405s ok 433 /checksum/SHA1/61 405s ok 434 /checksum/SHA1/62 405s ok 435 /checksum/SHA1/63 405s ok 436 /checksum/SHA1/64 405s ok 437 /checksum/SHA1/65 405s ok 438 /checksum/SHA1/66 405s ok 439 /checksum/SHA1/67 405s ok 440 /checksum/SHA1/68 405s ok 441 /checksum/SHA1/69 405s ok 442 /checksum/SHA1/70 405s ok 443 /checksum/SHA1/71 405s ok 444 /checksum/SHA1/72 405s ok 445 /checksum/SHA1/73 405s ok 446 /checksum/SHA1/74 405s ok 447 /checksum/SHA1/75 405s ok 448 /checksum/SHA1/76 405s ok 449 /checksum/SHA1/77 405s ok 450 /checksum/SHA1/78 405s ok 451 /checksum/SHA1/79 405s ok 452 /checksum/SHA1/80 405s ok 453 /checksum/SHA1/81 405s ok 454 /checksum/SHA1/82 405s ok 455 /checksum/SHA1/83 405s ok 456 /checksum/SHA1/84 405s ok 457 /checksum/SHA1/85 405s ok 458 /checksum/SHA1/86 405s ok 459 /checksum/SHA1/87 405s ok 460 /checksum/SHA1/88 405s ok 461 /checksum/SHA1/89 405s ok 462 /checksum/SHA1/90 405s ok 463 /checksum/SHA1/91 405s ok 464 /checksum/SHA1/92 405s ok 465 /checksum/SHA1/93 405s ok 466 /checksum/SHA1/94 405s ok 467 /checksum/SHA1/95 405s ok 468 /checksum/SHA1/96 405s ok 469 /checksum/SHA1/97 405s ok 470 /checksum/SHA1/98 405s ok 471 /checksum/SHA1/99 405s ok 472 /checksum/SHA1/100 405s ok 473 /checksum/SHA1/101 405s ok 474 /checksum/SHA1/102 405s ok 475 /checksum/SHA1/103 405s ok 476 /checksum/SHA1/104 405s ok 477 /checksum/SHA1/105 405s ok 478 /checksum/SHA1/106 405s ok 479 /checksum/SHA1/107 405s ok 480 /checksum/SHA1/108 405s ok 481 /checksum/SHA1/109 405s ok 482 /checksum/SHA1/110 405s ok 483 /checksum/SHA1/111 405s ok 484 /checksum/SHA1/112 405s ok 485 /checksum/SHA1/113 405s ok 486 /checksum/SHA1/114 405s ok 487 /checksum/SHA1/115 405s ok 488 /checksum/SHA1/116 405s ok 489 /checksum/SHA1/117 405s ok 490 /checksum/SHA1/118 405s ok 491 /checksum/SHA1/119 405s ok 492 /checksum/SHA1/120 405s ok 493 /checksum/SHA1/121 405s ok 494 /checksum/SHA1/122 405s ok 495 /checksum/SHA1/123 405s ok 496 /checksum/SHA1/124 405s ok 497 /checksum/SHA1/125 405s ok 498 /checksum/SHA1/126 405s ok 499 /checksum/SHA1/127 405s ok 500 /checksum/SHA1/128 405s ok 501 /checksum/SHA1/129 405s ok 502 /checksum/SHA1/130 405s ok 503 /checksum/SHA1/131 405s ok 504 /checksum/SHA1/132 405s ok 505 /checksum/SHA1/133 405s ok 506 /checksum/SHA1/134 405s ok 507 /checksum/SHA1/135 405s ok 508 /checksum/SHA1/136 405s ok 509 /checksum/SHA1/137 405s ok 510 /checksum/SHA1/138 405s ok 511 /checksum/SHA1/139 405s ok 512 /checksum/SHA1/140 405s ok 513 /checksum/SHA1/141 405s ok 514 /checksum/SHA1/142 405s ok 515 /checksum/SHA1/143 405s ok 516 /checksum/SHA1/144 405s ok 517 /checksum/SHA1/145 405s ok 518 /checksum/SHA1/146 405s ok 519 /checksum/SHA1/147 405s ok 520 /checksum/SHA1/148 405s ok 521 /checksum/SHA1/149 405s ok 522 /checksum/SHA1/150 405s ok 523 /checksum/SHA1/151 405s ok 524 /checksum/SHA1/152 405s ok 525 /checksum/SHA1/153 405s ok 526 /checksum/SHA1/154 405s ok 527 /checksum/SHA1/155 405s ok 528 /checksum/SHA1/156 405s ok 529 /checksum/SHA1/157 405s ok 530 /checksum/SHA1/158 405s ok 531 /checksum/SHA1/159 405s ok 532 /checksum/SHA1/160 405s ok 533 /checksum/SHA1/161 405s ok 534 /checksum/SHA1/162 405s ok 535 /checksum/SHA1/163 405s ok 536 /checksum/SHA1/164 405s ok 537 /checksum/SHA1/165 405s ok 538 /checksum/SHA1/166 405s ok 539 /checksum/SHA1/167 405s ok 540 /checksum/SHA1/168 405s ok 541 /checksum/SHA1/169 405s ok 542 /checksum/SHA1/170 405s ok 543 /checksum/SHA1/171 405s ok 544 /checksum/SHA1/172 405s ok 545 /checksum/SHA1/173 405s ok 546 /checksum/SHA1/174 405s ok 547 /checksum/SHA1/175 405s ok 548 /checksum/SHA1/176 405s ok 549 /checksum/SHA1/177 405s ok 550 /checksum/SHA1/178 405s ok 551 /checksum/SHA1/179 405s ok 552 /checksum/SHA1/180 405s ok 553 /checksum/SHA1/181 405s ok 554 /checksum/SHA1/182 405s ok 555 /checksum/SHA1/183 405s ok 556 /checksum/SHA1/string 405s ok 557 /checksum/SHA1/bytes 405s # Start of reset tests 405s ok 558 /checksum/SHA1/reset/0 405s ok 559 /checksum/SHA1/reset/1 405s ok 560 /checksum/SHA1/reset/2 405s ok 561 /checksum/SHA1/reset/3 405s ok 562 /checksum/SHA1/reset/4 405s ok 563 /checksum/SHA1/reset/5 405s ok 564 /checksum/SHA1/reset/6 405s ok 565 /checksum/SHA1/reset/7 405s ok 566 /checksum/SHA1/reset/8 405s ok 567 /checksum/SHA1/reset/9 405s ok 568 /checksum/SHA1/reset/10 405s ok 569 /checksum/SHA1/reset/11 405s ok 570 /checksum/SHA1/reset/12 405s ok 571 /checksum/SHA1/reset/13 405s ok 572 /checksum/SHA1/reset/14 405s ok 573 /checksum/SHA1/reset/15 405s ok 574 /checksum/SHA1/reset/16 405s ok 575 /checksum/SHA1/reset/17 405s ok 576 /checksum/SHA1/reset/18 405s ok 577 /checksum/SHA1/reset/19 405s ok 578 /checksum/SHA1/reset/20 405s ok 579 /checksum/SHA1/reset/21 405s ok 580 /checksum/SHA1/reset/22 405s ok 581 /checksum/SHA1/reset/23 405s ok 582 /checksum/SHA1/reset/24 405s ok 583 /checksum/SHA1/reset/25 405s ok 584 /checksum/SHA1/reset/26 405s ok 585 /checksum/SHA1/reset/27 405s ok 586 /checksum/SHA1/reset/28 405s ok 587 /checksum/SHA1/reset/29 405s ok 588 /checksum/SHA1/reset/30 405s ok 589 /checksum/SHA1/reset/31 405s ok 590 /checksum/SHA1/reset/32 405s ok 591 /checksum/SHA1/reset/33 405s ok 592 /checksum/SHA1/reset/34 405s ok 593 /checksum/SHA1/reset/35 405s ok 594 /checksum/SHA1/reset/36 405s ok 595 /checksum/SHA1/reset/37 405s ok 596 /checksum/SHA1/reset/38 405s ok 597 /checksum/SHA1/reset/39 405s ok 598 /checksum/SHA1/reset/40 405s ok 599 /checksum/SHA1/reset/41 405s ok 600 /checksum/SHA1/reset/42 405s ok 601 /checksum/SHA1/reset/43 405s ok 602 /checksum/SHA1/reset/44 405s ok 603 /checksum/SHA1/reset/45 405s ok 604 /checksum/SHA1/reset/46 405s ok 605 /checksum/SHA1/reset/47 405s ok 606 /checksum/SHA1/reset/48 405s ok 607 /checksum/SHA1/reset/49 405s ok 608 /checksum/SHA1/reset/50 405s ok 609 /checksum/SHA1/reset/51 405s ok 610 /checksum/SHA1/reset/52 405s ok 611 /checksum/SHA1/reset/53 405s ok 612 /checksum/SHA1/reset/54 405s ok 613 /checksum/SHA1/reset/55 405s ok 614 /checksum/SHA1/reset/56 405s ok 615 /checksum/SHA1/reset/57 405s ok 616 /checksum/SHA1/reset/58 405s ok 617 /checksum/SHA1/reset/59 405s ok 618 /checksum/SHA1/reset/60 405s ok 619 /checksum/SHA1/reset/61 405s ok 620 /checksum/SHA1/reset/62 405s ok 621 /checksum/SHA1/reset/63 405s ok 622 /checksum/SHA1/reset/64 405s ok 623 /checksum/SHA1/reset/65 405s ok 624 /checksum/SHA1/reset/66 405s ok 625 /checksum/SHA1/reset/67 405s ok 626 /checksum/SHA1/reset/68 405s ok 627 /checksum/SHA1/reset/69 405s ok 628 /checksum/SHA1/reset/70 405s ok 629 /checksum/SHA1/reset/71 405s ok 630 /checksum/SHA1/reset/72 405s ok 631 /checksum/SHA1/reset/73 405s ok 632 /checksum/SHA1/reset/74 405s ok 633 /checksum/SHA1/reset/75 405s ok 634 /checksum/SHA1/reset/76 405s ok 635 /checksum/SHA1/reset/77 405s ok 636 /checksum/SHA1/reset/78 405s ok 637 /checksum/SHA1/reset/79 405s ok 638 /checksum/SHA1/reset/80 405s ok 639 /checksum/SHA1/reset/81 405s ok 640 /checksum/SHA1/reset/82 405s ok 641 /checksum/SHA1/reset/83 405s ok 642 /checksum/SHA1/reset/84 405s ok 643 /checksum/SHA1/reset/85 405s ok 644 /checksum/SHA1/reset/86 405s ok 645 /checksum/SHA1/reset/87 405s ok 646 /checksum/SHA1/reset/88 405s ok 647 /checksum/SHA1/reset/89 405s ok 648 /checksum/SHA1/reset/90 405s ok 649 /checksum/SHA1/reset/91 405s ok 650 /checksum/SHA1/reset/92 405s ok 651 /checksum/SHA1/reset/93 405s ok 652 /checksum/SHA1/reset/94 405s ok 653 /checksum/SHA1/reset/95 405s ok 654 /checksum/SHA1/reset/96 405s ok 655 /checksum/SHA1/reset/97 405s ok 656 /checksum/SHA1/reset/98 405s ok 657 /checksum/SHA1/reset/99 405s ok 658 /checksum/SHA1/reset/100 405s ok 659 /checksum/SHA1/reset/101 405s ok 660 /checksum/SHA1/reset/102 405s ok 661 /checksum/SHA1/reset/103 405s ok 662 /checksum/SHA1/reset/104 405s ok 663 /checksum/SHA1/reset/105 405s ok 664 /checksum/SHA1/reset/106 405s ok 665 /checksum/SHA1/reset/107 405s ok 666 /checksum/SHA1/reset/108 405s ok 667 /checksum/SHA1/reset/109 405s ok 668 /checksum/SHA1/reset/110 405s ok 669 /checksum/SHA1/reset/111 405s ok 670 /checksum/SHA1/reset/112 405s ok 671 /checksum/SHA1/reset/113 405s ok 672 /checksum/SHA1/reset/114 405s ok 673 /checksum/SHA1/reset/115 405s ok 674 /checksum/SHA1/reset/116 405s ok 675 /checksum/SHA1/reset/117 405s ok 676 /checksum/SHA1/reset/118 405s ok 677 /checksum/SHA1/reset/119 405s ok 678 /checksum/SHA1/reset/120 405s ok 679 /checksum/SHA1/reset/121 405s ok 680 /checksum/SHA1/reset/122 405s ok 681 /checksum/SHA1/reset/123 405s ok 682 /checksum/SHA1/reset/124 405s ok 683 /checksum/SHA1/reset/125 405s ok 684 /checksum/SHA1/reset/126 405s ok 685 /checksum/SHA1/reset/127 405s ok 686 /checksum/SHA1/reset/128 405s ok 687 /checksum/SHA1/reset/129 405s ok 688 /checksum/SHA1/reset/130 405s ok 689 /checksum/SHA1/reset/131 405s ok 690 /checksum/SHA1/reset/132 405s ok 691 /checksum/SHA1/reset/133 405s ok 692 /checksum/SHA1/reset/134 405s ok 693 /checksum/SHA1/reset/135 405s ok 694 /checksum/SHA1/reset/136 405s ok 695 /checksum/SHA1/reset/137 405s ok 696 /checksum/SHA1/reset/138 405s ok 697 /checksum/SHA1/reset/139 405s ok 698 /checksum/SHA1/reset/140 405s ok 699 /checksum/SHA1/reset/141 405s ok 700 /checksum/SHA1/reset/142 405s ok 701 /checksum/SHA1/reset/143 405s ok 702 /checksum/SHA1/reset/144 405s ok 703 /checksum/SHA1/reset/145 405s ok 704 /checksum/SHA1/reset/146 405s ok 705 /checksum/SHA1/reset/147 405s ok 706 /checksum/SHA1/reset/148 405s ok 707 /checksum/SHA1/reset/149 405s ok 708 /checksum/SHA1/reset/150 405s ok 709 /checksum/SHA1/reset/151 405s ok 710 /checksum/SHA1/reset/152 405s ok 711 /checksum/SHA1/reset/153 405s ok 712 /checksum/SHA1/reset/154 405s ok 713 /checksum/SHA1/reset/155 405s ok 714 /checksum/SHA1/reset/156 405s ok 715 /checksum/SHA1/reset/157 405s ok 716 /checksum/SHA1/reset/158 405s ok 717 /checksum/SHA1/reset/159 405s ok 718 /checksum/SHA1/reset/160 405s ok 719 /checksum/SHA1/reset/161 405s ok 720 /checksum/SHA1/reset/162 405s ok 721 /checksum/SHA1/reset/163 405s ok 722 /checksum/SHA1/reset/164 405s ok 723 /checksum/SHA1/reset/165 405s ok 724 /checksum/SHA1/reset/166 405s ok 725 /checksum/SHA1/reset/167 405s ok 726 /checksum/SHA1/reset/168 405s ok 727 /checksum/SHA1/reset/169 405s ok 728 /checksum/SHA1/reset/170 405s ok 729 /checksum/SHA1/reset/171 405s ok 730 /checksum/SHA1/reset/172 405s ok 731 /checksum/SHA1/reset/173 405s ok 732 /checksum/SHA1/reset/174 405s ok 733 /checksum/SHA1/reset/175 405s ok 734 /checksum/SHA1/reset/176 405s ok 735 /checksum/SHA1/reset/177 405s ok 736 /checksum/SHA1/reset/178 405s ok 737 /checksum/SHA1/reset/179 405s ok 738 /checksum/SHA1/reset/180 405s ok 739 /checksum/SHA1/reset/181 405s ok 740 /checksum/SHA1/reset/182 405s ok 741 /checksum/SHA1/reset/183 405s # End of reset tests 405s # End of SHA1 tests 405s # Start of SHA256 tests 405s ok 742 /checksum/SHA256/0 405s ok 743 /checksum/SHA256/1 405s ok 744 /checksum/SHA256/2 405s ok 745 /checksum/SHA256/3 405s ok 746 /checksum/SHA256/4 405s ok 747 /checksum/SHA256/5 405s ok 748 /checksum/SHA256/6 405s ok 749 /checksum/SHA256/7 405s ok 750 /checksum/SHA256/8 405s ok 751 /checksum/SHA256/9 405s ok 752 /checksum/SHA256/10 405s ok 753 /checksum/SHA256/11 405s ok 754 /checksum/SHA256/12 405s ok 755 /checksum/SHA256/13 405s ok 756 /checksum/SHA256/14 405s ok 757 /checksum/SHA256/15 405s ok 758 /checksum/SHA256/16 405s ok 759 /checksum/SHA256/17 405s ok 760 /checksum/SHA256/18 405s ok 761 /checksum/SHA256/19 405s ok 762 /checksum/SHA256/20 405s ok 763 /checksum/SHA256/21 405s ok 764 /checksum/SHA256/22 405s ok 765 /checksum/SHA256/23 405s ok 766 /checksum/SHA256/24 405s ok 767 /checksum/SHA256/25 405s ok 768 /checksum/SHA256/26 405s ok 769 /checksum/SHA256/27 405s ok 770 /checksum/SHA256/28 405s ok 771 /checksum/SHA256/29 405s ok 772 /checksum/SHA256/30 405s ok 773 /checksum/SHA256/31 405s ok 774 /checksum/SHA256/32 405s ok 775 /checksum/SHA256/33 405s ok 776 /checksum/SHA256/34 405s ok 777 /checksum/SHA256/35 405s ok 778 /checksum/SHA256/36 405s ok 779 /checksum/SHA256/37 405s ok 780 /checksum/SHA256/38 405s ok 781 /checksum/SHA256/39 405s ok 782 /checksum/SHA256/40 405s ok 783 /checksum/SHA256/41 405s ok 784 /checksum/SHA256/42 405s ok 785 /checksum/SHA256/43 405s ok 786 /checksum/SHA256/44 405s ok 787 /checksum/SHA256/45 405s ok 788 /checksum/SHA256/46 405s ok 789 /checksum/SHA256/47 405s ok 790 /checksum/SHA256/48 405s ok 791 /checksum/SHA256/49 405s ok 792 /checksum/SHA256/50 405s ok 793 /checksum/SHA256/51 405s ok 794 /checksum/SHA256/52 405s ok 795 /checksum/SHA256/53 405s ok 796 /checksum/SHA256/54 405s ok 797 /checksum/SHA256/55 405s ok 798 /checksum/SHA256/56 405s ok 799 /checksum/SHA256/57 405s ok 800 /checksum/SHA256/58 405s ok 801 /checksum/SHA256/59 405s ok 802 /checksum/SHA256/60 405s ok 803 /checksum/SHA256/61 405s ok 804 /checksum/SHA256/62 405s ok 805 /checksum/SHA256/63 405s ok 806 /checksum/SHA256/64 405s ok 807 /checksum/SHA256/65 405s ok 808 /checksum/SHA256/66 405s ok 809 /checksum/SHA256/67 405s ok 810 /checksum/SHA256/68 405s ok 811 /checksum/SHA256/69 405s ok 812 /checksum/SHA256/70 405s ok 813 /checksum/SHA256/71 405s ok 814 /checksum/SHA256/72 405s ok 815 /checksum/SHA256/73 405s ok 816 /checksum/SHA256/74 405s ok 817 /checksum/SHA256/75 405s ok 818 /checksum/SHA256/76 405s ok 819 /checksum/SHA256/77 405s ok 820 /checksum/SHA256/78 405s ok 821 /checksum/SHA256/79 405s ok 822 /checksum/SHA256/80 405s ok 823 /checksum/SHA256/81 405s ok 824 /checksum/SHA256/82 405s ok 825 /checksum/SHA256/83 405s ok 826 /checksum/SHA256/84 405s ok 827 /checksum/SHA256/85 405s ok 828 /checksum/SHA256/86 405s ok 829 /checksum/SHA256/87 405s ok 830 /checksum/SHA256/88 405s ok 831 /checksum/SHA256/89 405s ok 832 /checksum/SHA256/90 405s ok 833 /checksum/SHA256/91 405s ok 834 /checksum/SHA256/92 405s ok 835 /checksum/SHA256/93 405s ok 836 /checksum/SHA256/94 405s ok 837 /checksum/SHA256/95 405s ok 838 /checksum/SHA256/96 405s ok 839 /checksum/SHA256/97 405s ok 840 /checksum/SHA256/98 405s ok 841 /checksum/SHA256/99 405s ok 842 /checksum/SHA256/100 405s ok 843 /checksum/SHA256/101 405s ok 844 /checksum/SHA256/102 405s ok 845 /checksum/SHA256/103 405s ok 846 /checksum/SHA256/104 405s ok 847 /checksum/SHA256/105 405s ok 848 /checksum/SHA256/106 405s ok 849 /checksum/SHA256/107 405s ok 850 /checksum/SHA256/108 405s ok 851 /checksum/SHA256/109 405s ok 852 /checksum/SHA256/110 405s ok 853 /checksum/SHA256/111 405s ok 854 /checksum/SHA256/112 405s ok 855 /checksum/SHA256/113 405s ok 856 /checksum/SHA256/114 405s ok 857 /checksum/SHA256/115 405s ok 858 /checksum/SHA256/116 405s ok 859 /checksum/SHA256/117 405s ok 860 /checksum/SHA256/118 405s ok 861 /checksum/SHA256/119 405s ok 862 /checksum/SHA256/120 405s ok 863 /checksum/SHA256/121 405s ok 864 /checksum/SHA256/122 405s ok 865 /checksum/SHA256/123 405s ok 866 /checksum/SHA256/124 405s ok 867 /checksum/SHA256/125 405s ok 868 /checksum/SHA256/126 405s ok 869 /checksum/SHA256/127 405s ok 870 /checksum/SHA256/128 405s ok 871 /checksum/SHA256/129 405s ok 872 /checksum/SHA256/130 405s ok 873 /checksum/SHA256/131 405s ok 874 /checksum/SHA256/132 405s ok 875 /checksum/SHA256/133 405s ok 876 /checksum/SHA256/134 405s ok 877 /checksum/SHA256/135 405s ok 878 /checksum/SHA256/136 405s ok 879 /checksum/SHA256/137 405s ok 880 /checksum/SHA256/138 405s ok 881 /checksum/SHA256/139 405s ok 882 /checksum/SHA256/140 405s ok 883 /checksum/SHA256/141 405s ok 884 /checksum/SHA256/142 405s ok 885 /checksum/SHA256/143 405s ok 886 /checksum/SHA256/144 405s ok 887 /checksum/SHA256/145 405s ok 888 /checksum/SHA256/146 405s ok 889 /checksum/SHA256/147 405s ok 890 /checksum/SHA256/148 405s ok 891 /checksum/SHA256/149 405s ok 892 /checksum/SHA256/150 405s ok 893 /checksum/SHA256/151 405s ok 894 /checksum/SHA256/152 405s ok 895 /checksum/SHA256/153 405s ok 896 /checksum/SHA256/154 405s ok 897 /checksum/SHA256/155 405s ok 898 /checksum/SHA256/156 405s ok 899 /checksum/SHA256/157 405s ok 900 /checksum/SHA256/158 405s ok 901 /checksum/SHA256/159 405s ok 902 /checksum/SHA256/160 405s ok 903 /checksum/SHA256/161 405s ok 904 /checksum/SHA256/162 405s ok 905 /checksum/SHA256/163 405s ok 906 /checksum/SHA256/164 405s ok 907 /checksum/SHA256/165 405s ok 908 /checksum/SHA256/166 405s ok 909 /checksum/SHA256/167 405s ok 910 /checksum/SHA256/168 405s ok 911 /checksum/SHA256/169 405s ok 912 /checksum/SHA256/170 405s ok 913 /checksum/SHA256/171 405s ok 914 /checksum/SHA256/172 405s ok 915 /checksum/SHA256/173 405s ok 916 /checksum/SHA256/174 405s ok 917 /checksum/SHA256/175 405s ok 918 /checksum/SHA256/176 405s ok 919 /checksum/SHA256/177 405s ok 920 /checksum/SHA256/178 405s ok 921 /checksum/SHA256/179 405s ok 922 /checksum/SHA256/180 405s ok 923 /checksum/SHA256/181 405s ok 924 /checksum/SHA256/182 405s ok 925 /checksum/SHA256/183 405s ok 926 /checksum/SHA256/string 405s ok 927 /checksum/SHA256/bytes 405s # Start of reset tests 405s ok 928 /checksum/SHA256/reset/0 405s ok 929 /checksum/SHA256/reset/1 405s ok 930 /checksum/SHA256/reset/2 405s ok 931 /checksum/SHA256/reset/3 405s ok 932 /checksum/SHA256/reset/4 405s ok 933 /checksum/SHA256/reset/5 405s ok 934 /checksum/SHA256/reset/6 405s ok 935 /checksum/SHA256/reset/7 405s ok 936 /checksum/SHA256/reset/8 405s ok 937 /checksum/SHA256/reset/9 405s ok 938 /checksum/SHA256/reset/10 405s ok 939 /checksum/SHA256/reset/11 405s ok 940 /checksum/SHA256/reset/12 405s ok 941 /checksum/SHA256/reset/13 405s ok 942 /checksum/SHA256/reset/14 405s ok 943 /checksum/SHA256/reset/15 405s ok 944 /checksum/SHA256/reset/16 405s ok 945 /checksum/SHA256/reset/17 405s ok 946 /checksum/SHA256/reset/18 405s ok 947 /checksum/SHA256/reset/19 405s ok 948 /checksum/SHA256/reset/20 405s ok 949 /checksum/SHA256/reset/21 405s ok 950 /checksum/SHA256/reset/22 405s ok 951 /checksum/SHA256/reset/23 405s ok 952 /checksum/SHA256/reset/24 405s ok 953 /checksum/SHA256/reset/25 405s ok 954 /checksum/SHA256/reset/26 405s ok 955 /checksum/SHA256/reset/27 405s ok 956 /checksum/SHA256/reset/28 405s ok 957 /checksum/SHA256/reset/29 405s ok 958 /checksum/SHA256/reset/30 405s ok 959 /checksum/SHA256/reset/31 405s ok 960 /checksum/SHA256/reset/32 405s ok 961 /checksum/SHA256/reset/33 405s ok 962 /checksum/SHA256/reset/34 405s ok 963 /checksum/SHA256/reset/35 405s ok 964 /checksum/SHA256/reset/36 405s ok 965 /checksum/SHA256/reset/37 405s ok 966 /checksum/SHA256/reset/38 405s ok 967 /checksum/SHA256/reset/39 405s ok 968 /checksum/SHA256/reset/40 405s ok 969 /checksum/SHA256/reset/41 405s ok 970 /checksum/SHA256/reset/42 405s ok 971 /checksum/SHA256/reset/43 405s ok 972 /checksum/SHA256/reset/44 405s ok 973 /checksum/SHA256/reset/45 405s ok 974 /checksum/SHA256/reset/46 405s ok 975 /checksum/SHA256/reset/47 405s ok 976 /checksum/SHA256/reset/48 405s ok 977 /checksum/SHA256/reset/49 405s ok 978 /checksum/SHA256/reset/50 405s ok 979 /checksum/SHA256/reset/51 405s ok 980 /checksum/SHA256/reset/52 405s ok 981 /checksum/SHA256/reset/53 405s ok 982 /checksum/SHA256/reset/54 405s ok 983 /checksum/SHA256/reset/55 405s ok 984 /checksum/SHA256/reset/56 405s ok 985 /checksum/SHA256/reset/57 405s ok 986 /checksum/SHA256/reset/58 405s ok 987 /checksum/SHA256/reset/59 405s ok 988 /checksum/SHA256/reset/60 405s ok 989 /checksum/SHA256/reset/61 405s ok 990 /checksum/SHA256/reset/62 405s ok 991 /checksum/SHA256/reset/63 405s ok 992 /checksum/SHA256/reset/64 405s ok 993 /checksum/SHA256/reset/65 405s ok 994 /checksum/SHA256/reset/66 405s ok 995 /checksum/SHA256/reset/67 405s ok 996 /checksum/SHA256/reset/68 405s ok 997 /checksum/SHA256/reset/69 405s ok 998 /checksum/SHA256/reset/70 405s ok 999 /checksum/SHA256/reset/71 405s ok 1000 /checksum/SHA256/reset/72 405s ok 1001 /checksum/SHA256/reset/73 405s ok 1002 /checksum/SHA256/reset/74 405s ok 1003 /checksum/SHA256/reset/75 405s ok 1004 /checksum/SHA256/reset/76 405s ok 1005 /checksum/SHA256/reset/77 405s ok 1006 /checksum/SHA256/reset/78 405s ok 1007 /checksum/SHA256/reset/79 405s ok 1008 /checksum/SHA256/reset/80 405s ok 1009 /checksum/SHA256/reset/81 405s ok 1010 /checksum/SHA256/reset/82 405s ok 1011 /checksum/SHA256/reset/83 405s ok 1012 /checksum/SHA256/reset/84 405s ok 1013 /checksum/SHA256/reset/85 405s ok 1014 /checksum/SHA256/reset/86 405s ok 1015 /checksum/SHA256/reset/87 405s ok 1016 /checksum/SHA256/reset/88 405s ok 1017 /checksum/SHA256/reset/89 405s ok 1018 /checksum/SHA256/reset/90 405s ok 1019 /checksum/SHA256/reset/91 405s ok 1020 /checksum/SHA256/reset/92 405s ok 1021 /checksum/SHA256/reset/93 405s ok 1022 /checksum/SHA256/reset/94 405s ok 1023 /checksum/SHA256/reset/95 405s ok 1024 /checksum/SHA256/reset/96 405s ok 1025 /checksum/SHA256/reset/97 405s ok 1026 /checksum/SHA256/reset/98 405s ok 1027 /checksum/SHA256/reset/99 405s ok 1028 /checksum/SHA256/reset/100 405s ok 1029 /checksum/SHA256/reset/101 405s ok 1030 /checksum/SHA256/reset/102 405s ok 1031 /checksum/SHA256/reset/103 405s ok 1032 /checksum/SHA256/reset/104 405s ok 1033 /checksum/SHA256/reset/105 405s ok 1034 /checksum/SHA256/reset/106 405s ok 1035 /checksum/SHA256/reset/107 405s ok 1036 /checksum/SHA256/reset/108 405s ok 1037 /checksum/SHA256/reset/109 405s ok 1038 /checksum/SHA256/reset/110 405s ok 1039 /checksum/SHA256/reset/111 405s ok 1040 /checksum/SHA256/reset/112 405s ok 1041 /checksum/SHA256/reset/113 405s ok 1042 /checksum/SHA256/reset/114 405s ok 1043 /checksum/SHA256/reset/115 405s ok 1044 /checksum/SHA256/reset/116 405s ok 1045 /checksum/SHA256/reset/117 405s ok 1046 /checksum/SHA256/reset/118 405s ok 1047 /checksum/SHA256/reset/119 405s ok 1048 /checksum/SHA256/reset/120 405s ok 1049 /checksum/SHA256/reset/121 405s ok 1050 /checksum/SHA256/reset/122 405s ok 1051 /checksum/SHA256/reset/123 405s ok 1052 /checksum/SHA256/reset/124 405s ok 1053 /checksum/SHA256/reset/125 405s ok 1054 /checksum/SHA256/reset/126 405s ok 1055 /checksum/SHA256/reset/127 405s ok 1056 /checksum/SHA256/reset/128 405s ok 1057 /checksum/SHA256/reset/129 405s ok 1058 /checksum/SHA256/reset/130 405s ok 1059 /checksum/SHA256/reset/131 405s ok 1060 /checksum/SHA256/reset/132 405s ok 1061 /checksum/SHA256/reset/133 405s ok 1062 /checksum/SHA256/reset/134 405s ok 1063 /checksum/SHA256/reset/135 405s ok 1064 /checksum/SHA256/reset/136 405s ok 1065 /checksum/SHA256/reset/137 405s ok 1066 /checksum/SHA256/reset/138 405s ok 1067 /checksum/SHA256/reset/139 405s ok 1068 /checksum/SHA256/reset/140 405s ok 1069 /checksum/SHA256/reset/141 405s ok 1070 /checksum/SHA256/reset/142 405s ok 1071 /checksum/SHA256/reset/143 405s ok 1072 /checksum/SHA256/reset/144 405s ok 1073 /checksum/SHA256/reset/145 405s ok 1074 /checksum/SHA256/reset/146 405s ok 1075 /checksum/SHA256/reset/147 405s ok 1076 /checksum/SHA256/reset/148 405s ok 1077 /checksum/SHA256/reset/149 405s ok 1078 /checksum/SHA256/reset/150 405s ok 1079 /checksum/SHA256/reset/151 405s ok 1080 /checksum/SHA256/reset/152 405s ok 1081 /checksum/SHA256/reset/153 405s ok 1082 /checksum/SHA256/reset/154 405s ok 1083 /checksum/SHA256/reset/155 405s ok 1084 /checksum/SHA256/reset/156 405s ok 1085 /checksum/SHA256/reset/157 405s ok 1086 /checksum/SHA256/reset/158 405s ok 1087 /checksum/SHA256/reset/159 405s ok 1088 /checksum/SHA256/reset/160 405s ok 1089 /checksum/SHA256/reset/161 405s ok 1090 /checksum/SHA256/reset/162 405s ok 1091 /checksum/SHA256/reset/163 405s ok 1092 /checksum/SHA256/reset/164 405s ok 1093 /checksum/SHA256/reset/165 405s ok 1094 /checksum/SHA256/reset/166 405s ok 1095 /checksum/SHA256/reset/167 405s ok 1096 /checksum/SHA256/reset/168 405s ok 1097 /checksum/SHA256/reset/169 405s ok 1098 /checksum/SHA256/reset/170 405s ok 1099 /checksum/SHA256/reset/171 405s ok 1100 /checksum/SHA256/reset/172 405s ok 1101 /checksum/SHA256/reset/173 405s ok 1102 /checksum/SHA256/reset/174 405s ok 1103 /checksum/SHA256/reset/175 405s ok 1104 /checksum/SHA256/reset/176 405s ok 1105 /checksum/SHA256/reset/177 405s ok 1106 /checksum/SHA256/reset/178 405s ok 1107 /checksum/SHA256/reset/179 405s ok 1108 /checksum/SHA256/reset/180 405s ok 1109 /checksum/SHA256/reset/181 405s ok 1110 /checksum/SHA256/reset/182 405s ok 1111 /checksum/SHA256/reset/183 405s # End of reset tests 405s # End of SHA256 tests 405s # Start of SHA384 tests 405s ok 1112 /checksum/SHA384/0 405s ok 1113 /checksum/SHA384/1 405s ok 1114 /checksum/SHA384/2 405s ok 1115 /checksum/SHA384/3 405s ok 1116 /checksum/SHA384/4 405s ok 1117 /checksum/SHA384/5 405s ok 1118 /checksum/SHA384/6 405s ok 1119 /checksum/SHA384/7 405s ok 1120 /checksum/SHA384/8 405s ok 1121 /checksum/SHA384/9 405s ok 1122 /checksum/SHA384/10 405s ok 1123 /checksum/SHA384/11 405s ok 1124 /checksum/SHA384/12 405s ok 1125 /checksum/SHA384/13 405s ok 1126 /checksum/SHA384/14 405s ok 1127 /checksum/SHA384/15 405s ok 1128 /checksum/SHA384/16 405s ok 1129 /checksum/SHA384/17 405s ok 1130 /checksum/SHA384/18 405s ok 1131 /checksum/SHA384/19 405s ok 1132 /checksum/SHA384/20 405s ok 1133 /checksum/SHA384/21 405s ok 1134 /checksum/SHA384/22 405s ok 1135 /checksum/SHA384/23 405s ok 1136 /checksum/SHA384/24 405s ok 1137 /checksum/SHA384/25 405s ok 1138 /checksum/SHA384/26 405s ok 1139 /checksum/SHA384/27 405s ok 1140 /checksum/SHA384/28 405s ok 1141 /checksum/SHA384/29 405s ok 1142 /checksum/SHA384/30 405s ok 1143 /checksum/SHA384/31 405s ok 1144 /checksum/SHA384/32 405s ok 1145 /checksum/SHA384/33 405s ok 1146 /checksum/SHA384/34 405s ok 1147 /checksum/SHA384/35 405s ok 1148 /checksum/SHA384/36 405s ok 1149 /checksum/SHA384/37 405s ok 1150 /checksum/SHA384/38 405s ok 1151 /checksum/SHA384/39 405s ok 1152 /checksum/SHA384/40 405s ok 1153 /checksum/SHA384/41 405s ok 1154 /checksum/SHA384/42 405s ok 1155 /checksum/SHA384/43 405s ok 1156 /checksum/SHA384/44 405s ok 1157 /checksum/SHA384/45 405s ok 1158 /checksum/SHA384/46 405s ok 1159 /checksum/SHA384/47 405s ok 1160 /checksum/SHA384/48 405s ok 1161 /checksum/SHA384/49 405s ok 1162 /checksum/SHA384/50 405s ok 1163 /checksum/SHA384/51 405s ok 1164 /checksum/SHA384/52 405s ok 1165 /checksum/SHA384/53 405s ok 1166 /checksum/SHA384/54 405s ok 1167 /checksum/SHA384/55 405s ok 1168 /checksum/SHA384/56 405s ok 1169 /checksum/SHA384/57 405s ok 1170 /checksum/SHA384/58 405s ok 1171 /checksum/SHA384/59 405s ok 1172 /checksum/SHA384/60 405s ok 1173 /checksum/SHA384/61 405s ok 1174 /checksum/SHA384/62 405s ok 1175 /checksum/SHA384/63 405s ok 1176 /checksum/SHA384/64 405s ok 1177 /checksum/SHA384/65 405s ok 1178 /checksum/SHA384/66 405s ok 1179 /checksum/SHA384/67 405s ok 1180 /checksum/SHA384/68 405s ok 1181 /checksum/SHA384/69 405s ok 1182 /checksum/SHA384/70 405s ok 1183 /checksum/SHA384/71 405s ok 1184 /checksum/SHA384/72 405s ok 1185 /checksum/SHA384/73 405s ok 1186 /checksum/SHA384/74 405s ok 1187 /checksum/SHA384/75 405s ok 1188 /checksum/SHA384/76 405s ok 1189 /checksum/SHA384/77 405s ok 1190 /checksum/SHA384/78 405s ok 1191 /checksum/SHA384/79 405s ok 1192 /checksum/SHA384/80 405s ok 1193 /checksum/SHA384/81 405s ok 1194 /checksum/SHA384/82 405s ok 1195 /checksum/SHA384/83 405s ok 1196 /checksum/SHA384/84 405s ok 1197 /checksum/SHA384/85 405s ok 1198 /checksum/SHA384/86 405s ok 1199 /checksum/SHA384/87 405s ok 1200 /checksum/SHA384/88 405s ok 1201 /checksum/SHA384/89 405s ok 1202 /checksum/SHA384/90 405s ok 1203 /checksum/SHA384/91 405s ok 1204 /checksum/SHA384/92 405s ok 1205 /checksum/SHA384/93 405s ok 1206 /checksum/SHA384/94 405s ok 1207 /checksum/SHA384/95 405s ok 1208 /checksum/SHA384/96 405s ok 1209 /checksum/SHA384/97 405s ok 1210 /checksum/SHA384/98 405s ok 1211 /checksum/SHA384/99 405s ok 1212 /checksum/SHA384/100 405s ok 1213 /checksum/SHA384/101 405s ok 1214 /checksum/SHA384/102 405s ok 1215 /checksum/SHA384/103 405s ok 1216 /checksum/SHA384/104 405s ok 1217 /checksum/SHA384/105 405s ok 1218 /checksum/SHA384/106 405s ok 1219 /checksum/SHA384/107 405s ok 1220 /checksum/SHA384/108 405s ok 1221 /checksum/SHA384/109 405s ok 1222 /checksum/SHA384/110 405s ok 1223 /checksum/SHA384/111 405s ok 1224 /checksum/SHA384/112 405s ok 1225 /checksum/SHA384/113 405s ok 1226 /checksum/SHA384/114 405s ok 1227 /checksum/SHA384/115 405s ok 1228 /checksum/SHA384/116 405s ok 1229 /checksum/SHA384/117 405s ok 1230 /checksum/SHA384/118 405s ok 1231 /checksum/SHA384/119 405s ok 1232 /checksum/SHA384/120 405s ok 1233 /checksum/SHA384/121 405s ok 1234 /checksum/SHA384/122 405s ok 1235 /checksum/SHA384/123 405s ok 1236 /checksum/SHA384/124 405s ok 1237 /checksum/SHA384/125 405s ok 1238 /checksum/SHA384/126 405s ok 1239 /checksum/SHA384/127 405s ok 1240 /checksum/SHA384/128 405s ok 1241 /checksum/SHA384/129 405s ok 1242 /checksum/SHA384/130 405s ok 1243 /checksum/SHA384/131 405s ok 1244 /checksum/SHA384/132 405s ok 1245 /checksum/SHA384/133 405s ok 1246 /checksum/SHA384/134 405s ok 1247 /checksum/SHA384/135 405s ok 1248 /checksum/SHA384/136 405s ok 1249 /checksum/SHA384/137 405s ok 1250 /checksum/SHA384/138 405s ok 1251 /checksum/SHA384/139 405s ok 1252 /checksum/SHA384/140 405s ok 1253 /checksum/SHA384/141 405s ok 1254 /checksum/SHA384/142 405s ok 1255 /checksum/SHA384/143 405s ok 1256 /checksum/SHA384/144 405s ok 1257 /checksum/SHA384/145 405s ok 1258 /checksum/SHA384/146 405s ok 1259 /checksum/SHA384/147 405s ok 1260 /checksum/SHA384/148 405s ok 1261 /checksum/SHA384/149 405s ok 1262 /checksum/SHA384/150 405s ok 1263 /checksum/SHA384/151 405s ok 1264 /checksum/SHA384/152 405s ok 1265 /checksum/SHA384/153 405s ok 1266 /checksum/SHA384/154 405s ok 1267 /checksum/SHA384/155 405s ok 1268 /checksum/SHA384/156 405s ok 1269 /checksum/SHA384/157 405s ok 1270 /checksum/SHA384/158 405s ok 1271 /checksum/SHA384/159 405s ok 1272 /checksum/SHA384/160 405s ok 1273 /checksum/SHA384/161 405s ok 1274 /checksum/SHA384/162 405s ok 1275 /checksum/SHA384/163 405s ok 1276 /checksum/SHA384/164 405s ok 1277 /checksum/SHA384/165 405s ok 1278 /checksum/SHA384/166 405s ok 1279 /checksum/SHA384/167 405s ok 1280 /checksum/SHA384/168 405s ok 1281 /checksum/SHA384/169 405s ok 1282 /checksum/SHA384/170 405s ok 1283 /checksum/SHA384/171 405s ok 1284 /checksum/SHA384/172 405s ok 1285 /checksum/SHA384/173 405s ok 1286 /checksum/SHA384/174 405s ok 1287 /checksum/SHA384/175 405s ok 1288 /checksum/SHA384/176 405s ok 1289 /checksum/SHA384/177 405s ok 1290 /checksum/SHA384/178 405s ok 1291 /checksum/SHA384/179 405s ok 1292 /checksum/SHA384/180 405s ok 1293 /checksum/SHA384/181 405s ok 1294 /checksum/SHA384/182 405s ok 1295 /checksum/SHA384/183 405s ok 1296 /checksum/SHA384/string 405s ok 1297 /checksum/SHA384/bytes 405s # Start of reset tests 405s ok 1298 /checksum/SHA384/reset/0 405s ok 1299 /checksum/SHA384/reset/1 405s ok 1300 /checksum/SHA384/reset/2 405s ok 1301 /checksum/SHA384/reset/3 405s ok 1302 /checksum/SHA384/reset/4 405s ok 1303 /checksum/SHA384/reset/5 405s ok 1304 /checksum/SHA384/reset/6 405s ok 1305 /checksum/SHA384/reset/7 405s ok 1306 /checksum/SHA384/reset/8 405s ok 1307 /checksum/SHA384/reset/9 405s ok 1308 /checksum/SHA384/reset/10 405s ok 1309 /checksum/SHA384/reset/11 405s ok 1310 /checksum/SHA384/reset/12 405s ok 1311 /checksum/SHA384/reset/13 405s ok 1312 /checksum/SHA384/reset/14 405s ok 1313 /checksum/SHA384/reset/15 405s ok 1314 /checksum/SHA384/reset/16 405s ok 1315 /checksum/SHA384/reset/17 405s ok 1316 /checksum/SHA384/reset/18 405s ok 1317 /checksum/SHA384/reset/19 405s ok 1318 /checksum/SHA384/reset/20 405s ok 1319 /checksum/SHA384/reset/21 405s ok 1320 /checksum/SHA384/reset/22 405s ok 1321 /checksum/SHA384/reset/23 405s ok 1322 /checksum/SHA384/reset/24 405s ok 1323 /checksum/SHA384/reset/25 405s ok 1324 /checksum/SHA384/reset/26 405s ok 1325 /checksum/SHA384/reset/27 405s ok 1326 /checksum/SHA384/reset/28 405s ok 1327 /checksum/SHA384/reset/29 405s ok 1328 /checksum/SHA384/reset/30 405s ok 1329 /checksum/SHA384/reset/31 405s ok 1330 /checksum/SHA384/reset/32 405s ok 1331 /checksum/SHA384/reset/33 405s ok 1332 /checksum/SHA384/reset/34 405s ok 1333 /checksum/SHA384/reset/35 405s ok 1334 /checksum/SHA384/reset/36 405s ok 1335 /checksum/SHA384/reset/37 405s ok 1336 /checksum/SHA384/reset/38 405s ok 1337 /checksum/SHA384/reset/39 405s ok 1338 /checksum/SHA384/reset/40 405s ok 1339 /checksum/SHA384/reset/41 405s ok 1340 /checksum/SHA384/reset/42 405s ok 1341 /checksum/SHA384/reset/43 405s ok 1342 /checksum/SHA384/reset/44 405s ok 1343 /checksum/SHA384/reset/45 405s ok 1344 /checksum/SHA384/reset/46 405s ok 1345 /checksum/SHA384/reset/47 405s ok 1346 /checksum/SHA384/reset/48 405s ok 1347 /checksum/SHA384/reset/49 405s ok 1348 /checksum/SHA384/reset/50 405s ok 1349 /checksum/SHA384/reset/51 405s ok 1350 /checksum/SHA384/reset/52 405s ok 1351 /checksum/SHA384/reset/53 405s ok 1352 /checksum/SHA384/reset/54 405s ok 1353 /checksum/SHA384/reset/55 405s ok 1354 /checksum/SHA384/reset/56 405s ok 1355 /checksum/SHA384/reset/57 405s ok 1356 /checksum/SHA384/reset/58 405s ok 1357 /checksum/SHA384/reset/59 405s ok 1358 /checksum/SHA384/reset/60 405s ok 1359 /checksum/SHA384/reset/61 405s ok 1360 /checksum/SHA384/reset/62 405s ok 1361 /checksum/SHA384/reset/63 405s ok 1362 /checksum/SHA384/reset/64 405s ok 1363 /checksum/SHA384/reset/65 405s ok 1364 /checksum/SHA384/reset/66 405s ok 1365 /checksum/SHA384/reset/67 405s ok 1366 /checksum/SHA384/reset/68 405s ok 1367 /checksum/SHA384/reset/69 405s ok 1368 /checksum/SHA384/reset/70 405s ok 1369 /checksum/SHA384/reset/71 405s ok 1370 /checksum/SHA384/reset/72 405s ok 1371 /checksum/SHA384/reset/73 405s ok 1372 /checksum/SHA384/reset/74 405s ok 1373 /checksum/SHA384/reset/75 405s ok 1374 /checksum/SHA384/reset/76 405s ok 1375 /checksum/SHA384/reset/77 405s ok 1376 /checksum/SHA384/reset/78 405s ok 1377 /checksum/SHA384/reset/79 405s ok 1378 /checksum/SHA384/reset/80 405s ok 1379 /checksum/SHA384/reset/81 405s ok 1380 /checksum/SHA384/reset/82 405s ok 1381 /checksum/SHA384/reset/83 405s ok 1382 /checksum/SHA384/reset/84 405s ok 1383 /checksum/SHA384/reset/85 405s ok 1384 /checksum/SHA384/reset/86 405s ok 1385 /checksum/SHA384/reset/87 405s ok 1386 /checksum/SHA384/reset/88 405s ok 1387 /checksum/SHA384/reset/89 405s ok 1388 /checksum/SHA384/reset/90 405s ok 1389 /checksum/SHA384/reset/91 405s ok 1390 /checksum/SHA384/reset/92 405s ok 1391 /checksum/SHA384/reset/93 405s ok 1392 /checksum/SHA384/reset/94 405s ok 1393 /checksum/SHA384/reset/95 405s ok 1394 /checksum/SHA384/reset/96 405s ok 1395 /checksum/SHA384/reset/97 405s ok 1396 /checksum/SHA384/reset/98 405s ok 1397 /checksum/SHA384/reset/99 405s ok 1398 /checksum/SHA384/reset/100 405s ok 1399 /checksum/SHA384/reset/101 405s ok 1400 /checksum/SHA384/reset/102 405s ok 1401 /checksum/SHA384/reset/103 405s ok 1402 /checksum/SHA384/reset/104 405s ok 1403 /checksum/SHA384/reset/105 405s ok 1404 /checksum/SHA384/reset/106 405s ok 1405 /checksum/SHA384/reset/107 405s ok 1406 /checksum/SHA384/reset/108 405s ok 1407 /checksum/SHA384/reset/109 405s ok 1408 /checksum/SHA384/reset/110 405s ok 1409 /checksum/SHA384/reset/111 405s ok 1410 /checksum/SHA384/reset/112 405s ok 1411 /checksum/SHA384/reset/113 405s ok 1412 /checksum/SHA384/reset/114 405s ok 1413 /checksum/SHA384/reset/115 405s ok 1414 /checksum/SHA384/reset/116 405s ok 1415 /checksum/SHA384/reset/117 405s ok 1416 /checksum/SHA384/reset/118 405s ok 1417 /checksum/SHA384/reset/119 405s ok 1418 /checksum/SHA384/reset/120 405s ok 1419 /checksum/SHA384/reset/121 405s ok 1420 /checksum/SHA384/reset/122 405s ok 1421 /checksum/SHA384/reset/123 405s ok 1422 /checksum/SHA384/reset/124 405s ok 1423 /checksum/SHA384/reset/125 405s ok 1424 /checksum/SHA384/reset/126 405s ok 1425 /checksum/SHA384/reset/127 405s ok 1426 /checksum/SHA384/reset/128 405s ok 1427 /checksum/SHA384/reset/129 405s ok 1428 /checksum/SHA384/reset/130 405s ok 1429 /checksum/SHA384/reset/131 405s ok 1430 /checksum/SHA384/reset/132 405s ok 1431 /checksum/SHA384/reset/133 405s ok 1432 /checksum/SHA384/reset/134 405s ok 1433 /checksum/SHA384/reset/135 405s ok 1434 /checksum/SHA384/reset/136 405s ok 1435 /checksum/SHA384/reset/137 405s ok 1436 /checksum/SHA384/reset/138 405s ok 1437 /checksum/SHA384/reset/139 405s ok 1438 /checksum/SHA384/reset/140 405s ok 1439 /checksum/SHA384/reset/141 405s ok 1440 /checksum/SHA384/reset/142 405s ok 1441 /checksum/SHA384/reset/143 405s ok 1442 /checksum/SHA384/reset/144 405s ok 1443 /checksum/SHA384/reset/145 405s ok 1444 /checksum/SHA384/reset/146 405s ok 1445 /checksum/SHA384/reset/147 405s ok 1446 /checksum/SHA384/reset/148 405s ok 1447 /checksum/SHA384/reset/149 405s ok 1448 /checksum/SHA384/reset/150 405s ok 1449 /checksum/SHA384/reset/151 405s ok 1450 /checksum/SHA384/reset/152 405s ok 1451 /checksum/SHA384/reset/153 405s ok 1452 /checksum/SHA384/reset/154 405s ok 1453 /checksum/SHA384/reset/155 405s ok 1454 /checksum/SHA384/reset/156 405s ok 1455 /checksum/SHA384/reset/157 405s ok 1456 /checksum/SHA384/reset/158 405s ok 1457 /checksum/SHA384/reset/159 405s ok 1458 /checksum/SHA384/reset/160 405s ok 1459 /checksum/SHA384/reset/161 405s ok 1460 /checksum/SHA384/reset/162 405s ok 1461 /checksum/SHA384/reset/163 405s ok 1462 /checksum/SHA384/reset/164 405s ok 1463 /checksum/SHA384/reset/165 405s ok 1464 /checksum/SHA384/reset/166 405s ok 1465 /checksum/SHA384/reset/167 405s ok 1466 /checksum/SHA384/reset/168 405s ok 1467 /checksum/SHA384/reset/169 405s ok 1468 /checksum/SHA384/reset/170 405s ok 1469 /checksum/SHA384/reset/171 405s ok 1470 /checksum/SHA384/reset/172 405s ok 1471 /checksum/SHA384/reset/173 405s ok 1472 /checksum/SHA384/reset/174 405s ok 1473 /checksum/SHA384/reset/175 405s ok 1474 /checksum/SHA384/reset/176 405s ok 1475 /checksum/SHA384/reset/177 405s ok 1476 /checksum/SHA384/reset/178 405s ok 1477 /checksum/SHA384/reset/179 405s ok 1478 /checksum/SHA384/reset/180 405s ok 1479 /checksum/SHA384/reset/181 405s ok 1480 /checksum/SHA384/reset/182 405s ok 1481 /checksum/SHA384/reset/183 405s # End of reset tests 405s # End of SHA384 tests 405s # Start of SHA512 tests 405s ok 1482 /checksum/SHA512/0 405s ok 1483 /checksum/SHA512/1 405s ok 1484 /checksum/SHA512/2 405s ok 1485 /checksum/SHA512/3 405s ok 1486 /checksum/SHA512/4 405s ok 1487 /checksum/SHA512/5 405s ok 1488 /checksum/SHA512/6 405s ok 1489 /checksum/SHA512/7 405s ok 1490 /checksum/SHA512/8 405s ok 1491 /checksum/SHA512/9 405s ok 1492 /checksum/SHA512/10 405s ok 1493 /checksum/SHA512/11 405s ok 1494 /checksum/SHA512/12 405s ok 1495 /checksum/SHA512/13 405s ok 1496 /checksum/SHA512/14 405s ok 1497 /checksum/SHA512/15 405s ok 1498 /checksum/SHA512/16 405s ok 1499 /checksum/SHA512/17 405s ok 1500 /checksum/SHA512/18 405s ok 1501 /checksum/SHA512/19 405s ok 1502 /checksum/SHA512/20 405s ok 1503 /checksum/SHA512/21 405s ok 1504 /checksum/SHA512/22 405s ok 1505 /checksum/SHA512/23 405s ok 1506 /checksum/SHA512/24 405s ok 1507 /checksum/SHA512/25 405s ok 1508 /checksum/SHA512/26 405s ok 1509 /checksum/SHA512/27 405s ok 1510 /checksum/SHA512/28 405s ok 1511 /checksum/SHA512/29 405s ok 1512 /checksum/SHA512/30 405s ok 1513 /checksum/SHA512/31 405s ok 1514 /checksum/SHA512/32 405s ok 1515 /checksum/SHA512/33 405s ok 1516 /checksum/SHA512/34 405s ok 1517 /checksum/SHA512/35 405s ok 1518 /checksum/SHA512/36 405s ok 1519 /checksum/SHA512/37 405s ok 1520 /checksum/SHA512/38 405s ok 1521 /checksum/SHA512/39 405s ok 1522 /checksum/SHA512/40 405s ok 1523 /checksum/SHA512/41 405s ok 1524 /checksum/SHA512/42 405s ok 1525 /checksum/SHA512/43 405s ok 1526 /checksum/SHA512/44 405s ok 1527 /checksum/SHA512/45 405s ok 1528 /checksum/SHA512/46 405s ok 1529 /checksum/SHA512/47 405s ok 1530 /checksum/SHA512/48 405s ok 1531 /checksum/SHA512/49 405s ok 1532 /checksum/SHA512/50 405s ok 1533 /checksum/SHA512/51 405s ok 1534 /checksum/SHA512/52 405s ok 1535 /checksum/SHA512/53 405s ok 1536 /checksum/SHA512/54 405s ok 1537 /checksum/SHA512/55 405s ok 1538 /checksum/SHA512/56 405s ok 1539 /checksum/SHA512/57 405s ok 1540 /checksum/SHA512/58 405s ok 1541 /checksum/SHA512/59 405s ok 1542 /checksum/SHA512/60 405s ok 1543 /checksum/SHA512/61 405s ok 1544 /checksum/SHA512/62 405s ok 1545 /checksum/SHA512/63 405s ok 1546 /checksum/SHA512/64 405s ok 1547 /checksum/SHA512/65 405s ok 1548 /checksum/SHA512/66 405s ok 1549 /checksum/SHA512/67 405s ok 1550 /checksum/SHA512/68 405s ok 1551 /checksum/SHA512/69 405s ok 1552 /checksum/SHA512/70 405s ok 1553 /checksum/SHA512/71 405s ok 1554 /checksum/SHA512/72 405s ok 1555 /checksum/SHA512/73 405s ok 1556 /checksum/SHA512/74 405s ok 1557 /checksum/SHA512/75 405s ok 1558 /checksum/SHA512/76 405s ok 1559 /checksum/SHA512/77 405s ok 1560 /checksum/SHA512/78 405s ok 1561 /checksum/SHA512/79 405s ok 1562 /checksum/SHA512/80 405s ok 1563 /checksum/SHA512/81 405s ok 1564 /checksum/SHA512/82 405s ok 1565 /checksum/SHA512/83 405s ok 1566 /checksum/SHA512/84 405s ok 1567 /checksum/SHA512/85 405s ok 1568 /checksum/SHA512/86 405s ok 1569 /checksum/SHA512/87 405s ok 1570 /checksum/SHA512/88 405s ok 1571 /checksum/SHA512/89 405s ok 1572 /checksum/SHA512/90 405s ok 1573 /checksum/SHA512/91 405s ok 1574 /checksum/SHA512/92 405s ok 1575 /checksum/SHA512/93 405s ok 1576 /checksum/SHA512/94 405s ok 1577 /checksum/SHA512/95 405s ok 1578 /checksum/SHA512/96 405s ok 1579 /checksum/SHA512/97 405s ok 1580 /checksum/SHA512/98 405s ok 1581 /checksum/SHA512/99 405s ok 1582 /checksum/SHA512/100 405s ok 1583 /checksum/SHA512/101 405s ok 1584 /checksum/SHA512/102 405s ok 1585 /checksum/SHA512/103 405s ok 1586 /checksum/SHA512/104 405s ok 1587 /checksum/SHA512/105 405s ok 1588 /checksum/SHA512/106 405s ok 1589 /checksum/SHA512/107 405s ok 1590 /checksum/SHA512/108 405s ok 1591 /checksum/SHA512/109 405s ok 1592 /checksum/SHA512/110 405s ok 1593 /checksum/SHA512/111 405s ok 1594 /checksum/SHA512/112 405s ok 1595 /checksum/SHA512/113 405s ok 1596 /checksum/SHA512/114 405s ok 1597 /checksum/SHA512/115 405s ok 1598 /checksum/SHA512/116 405s ok 1599 /checksum/SHA512/117 405s ok 1600 /checksum/SHA512/118 405s ok 1601 /checksum/SHA512/119 405s ok 1602 /checksum/SHA512/120 405s ok 1603 /checksum/SHA512/121 405s ok 1604 /checksum/SHA512/122 405s ok 1605 /checksum/SHA512/123 405s ok 1606 /checksum/SHA512/124 405s ok 1607 /checksum/SHA512/125 405s ok 1608 /checksum/SHA512/126 405s ok 1609 /checksum/SHA512/127 405s ok 1610 /checksum/SHA512/128 405s ok 1611 /checksum/SHA512/129 405s ok 1612 /checksum/SHA512/130 405s ok 1613 /checksum/SHA512/131 405s ok 1614 /checksum/SHA512/132 405s ok 1615 /checksum/SHA512/133 405s ok 1616 /checksum/SHA512/134 405s ok 1617 /checksum/SHA512/135 405s ok 1618 /checksum/SHA512/136 405s ok 1619 /checksum/SHA512/137 405s ok 1620 /checksum/SHA512/138 405s ok 1621 /checksum/SHA512/139 405s ok 1622 /checksum/SHA512/140 405s ok 1623 /checksum/SHA512/141 405s ok 1624 /checksum/SHA512/142 405s ok 1625 /checksum/SHA512/143 405s ok 1626 /checksum/SHA512/144 405s ok 1627 /checksum/SHA512/145 405s ok 1628 /checksum/SHA512/146 405s ok 1629 /checksum/SHA512/147 405s ok 1630 /checksum/SHA512/148 405s ok 1631 /checksum/SHA512/149 405s ok 1632 /checksum/SHA512/150 405s ok 1633 /checksum/SHA512/151 405s ok 1634 /checksum/SHA512/152 405s ok 1635 /checksum/SHA512/153 405s ok 1636 /checksum/SHA512/154 405s ok 1637 /checksum/SHA512/155 405s ok 1638 /checksum/SHA512/156 405s ok 1639 /checksum/SHA512/157 405s ok 1640 /checksum/SHA512/158 405s ok 1641 /checksum/SHA512/159 405s ok 1642 /checksum/SHA512/160 405s ok 1643 /checksum/SHA512/161 405s ok 1644 /checksum/SHA512/162 405s ok 1645 /checksum/SHA512/163 405s ok 1646 /checksum/SHA512/164 405s ok 1647 /checksum/SHA512/165 405s ok 1648 /checksum/SHA512/166 405s ok 1649 /checksum/SHA512/167 405s ok 1650 /checksum/SHA512/168 405s ok 1651 /checksum/SHA512/169 405s ok 1652 /checksum/SHA512/170 405s ok 1653 /checksum/SHA512/171 405s ok 1654 /checksum/SHA512/172 405s ok 1655 /checksum/SHA512/173 405s ok 1656 /checksum/SHA512/174 405s ok 1657 /checksum/SHA512/175 405s ok 1658 /checksum/SHA512/176 405s ok 1659 /checksum/SHA512/177 405s ok 1660 /checksum/SHA512/178 405s ok 1661 /checksum/SHA512/179 405s ok 1662 /checksum/SHA512/180 405s ok 1663 /checksum/SHA512/181 405s ok 1664 /checksum/SHA512/182 405s ok 1665 /checksum/SHA512/183 405s ok 1666 /checksum/SHA512/string 405s ok 1667 /checksum/SHA512/bytes 405s # Start of reset tests 405s ok 1668 /checksum/SHA512/reset/0 405s ok 1669 /checksum/SHA512/reset/1 405s ok 1670 /checksum/SHA512/reset/2 405s ok 1671 /checksum/SHA512/reset/3 405s ok 1672 /checksum/SHA512/reset/4 405s ok 1673 /checksum/SHA512/reset/5 405s ok 1674 /checksum/SHA512/reset/6 405s ok 1675 /checksum/SHA512/reset/7 405s ok 1676 /checksum/SHA512/reset/8 405s ok 1677 /checksum/SHA512/reset/9 405s ok 1678 /checksum/SHA512/reset/10 405s ok 1679 /checksum/SHA512/reset/11 405s ok 1680 /checksum/SHA512/reset/12 405s ok 1681 /checksum/SHA512/reset/13 405s ok 1682 /checksum/SHA512/reset/14 405s ok 1683 /checksum/SHA512/reset/15 405s ok 1684 /checksum/SHA512/reset/16 405s ok 1685 /checksum/SHA512/reset/17 405s ok 1686 /checksum/SHA512/reset/18 405s ok 1687 /checksum/SHA512/reset/19 405s ok 1688 /checksum/SHA512/reset/20 405s ok 1689 /checksum/SHA512/reset/21 405s ok 1690 /checksum/SHA512/reset/22 405s ok 1691 /checksum/SHA512/reset/23 405s ok 1692 /checksum/SHA512/reset/24 405s ok 1693 /checksum/SHA512/reset/25 405s ok 1694 /checksum/SHA512/reset/26 405s ok 1695 /checksum/SHA512/reset/27 405s ok 1696 /checksum/SHA512/reset/28 405s ok 1697 /checksum/SHA512/reset/29 405s ok 1698 /checksum/SHA512/reset/30 405s ok 1699 /checksum/SHA512/reset/31 405s ok 1700 /checksum/SHA512/reset/32 405s ok 1701 /checksum/SHA512/reset/33 405s ok 1702 /checksum/SHA512/reset/34 405s ok 1703 /checksum/SHA512/reset/35 405s ok 1704 /checksum/SHA512/reset/36 405s ok 1705 /checksum/SHA512/reset/37 405s ok 1706 /checksum/SHA512/reset/38 405s ok 1707 /checksum/SHA512/reset/39 405s ok 1708 /checksum/SHA512/reset/40 405s ok 1709 /checksum/SHA512/reset/41 405s ok 1710 /checksum/SHA512/reset/42 405s ok 1711 /checksum/SHA512/reset/43 405s ok 1712 /checksum/SHA512/reset/44 405s ok 1713 /checksum/SHA512/reset/45 405s ok 1714 /checksum/SHA512/reset/46 405s ok 1715 /checksum/SHA512/reset/47 405s ok 1716 /checksum/SHA512/reset/48 405s ok 1717 /checksum/SHA512/reset/49 405s ok 1718 /checksum/SHA512/reset/50 405s ok 1719 /checksum/SHA512/reset/51 405s ok 1720 /checksum/SHA512/reset/52 405s ok 1721 /checksum/SHA512/reset/53 405s ok 1722 /checksum/SHA512/reset/54 405s ok 1723 /checksum/SHA512/reset/55 405s ok 1724 /checksum/SHA512/reset/56 405s ok 1725 /checksum/SHA512/reset/57 405s ok 1726 /checksum/SHA512/reset/58 405s ok 1727 /checksum/SHA512/reset/59 405s ok 1728 /checksum/SHA512/reset/60 405s ok 1729 /checksum/SHA512/reset/61 405s ok 1730 /checksum/SHA512/reset/62 405s ok 1731 /checksum/SHA512/reset/63 405s ok 1732 /checksum/SHA512/reset/64 405s ok 1733 /checksum/SHA512/reset/65 405s ok 1734 /checksum/SHA512/reset/66 405s ok 1735 /checksum/SHA512/reset/67 405s ok 1736 /checksum/SHA512/reset/68 405s ok 1737 /checksum/SHA512/reset/69 405s ok 1738 /checksum/SHA512/reset/70 405s ok 1739 /checksum/SHA512/reset/71 405s ok 1740 /checksum/SHA512/reset/72 405s ok 1741 /checksum/SHA512/reset/73 405s ok 1742 /checksum/SHA512/reset/74 405s ok 1743 /checksum/SHA512/reset/75 405s ok 1744 /checksum/SHA512/reset/76 405s ok 1745 /checksum/SHA512/reset/77 405s ok 1746 /checksum/SHA512/reset/78 405s ok 1747 /checksum/SHA512/reset/79 405s ok 1748 /checksum/SHA512/reset/80 405s ok 1749 /checksum/SHA512/reset/81 405s ok 1750 /checksum/SHA512/reset/82 405s ok 1751 /checksum/SHA512/reset/83 405s ok 1752 /checksum/SHA512/reset/84 405s ok 1753 /checksum/SHA512/reset/85 405s ok 1754 /checksum/SHA512/reset/86 405s ok 1755 /checksum/SHA512/reset/87 405s ok 1756 /checksum/SHA512/reset/88 405s ok 1757 /checksum/SHA512/reset/89 405s ok 1758 /checksum/SHA512/reset/90 405s ok 1759 /checksum/SHA512/reset/91 405s ok 1760 /checksum/SHA512/reset/92 405s ok 1761 /checksum/SHA512/reset/93 405s ok 1762 /checksum/SHA512/reset/94 405s ok 1763 /checksum/SHA512/reset/95 405s ok 1764 /checksum/SHA512/reset/96 405s ok 1765 /checksum/SHA512/reset/97 405s ok 1766 /checksum/SHA512/reset/98 405s ok 1767 /checksum/SHA512/reset/99 405s ok 1768 /checksum/SHA512/reset/100 405s ok 1769 /checksum/SHA512/reset/101 405s ok 1770 /checksum/SHA512/reset/102 405s ok 1771 /checksum/SHA512/reset/103 405s ok 1772 /checksum/SHA512/reset/104 405s ok 1773 /checksum/SHA512/reset/105 405s ok 1774 /checksum/SHA512/reset/106 405s ok 1775 /checksum/SHA512/reset/107 405s ok 1776 /checksum/SHA512/reset/108 405s ok 1777 /checksum/SHA512/reset/109 405s ok 1778 /checksum/SHA512/reset/110 405s ok 1779 /checksum/SHA512/reset/111 405s ok 1780 /checksum/SHA512/reset/112 405s ok 1781 /checksum/SHA512/reset/113 405s ok 1782 /checksum/SHA512/reset/114 405s ok 1783 /checksum/SHA512/reset/115 405s ok 1784 /checksum/SHA512/reset/116 405s ok 1785 /checksum/SHA512/reset/117 405s ok 1786 /checksum/SHA512/reset/118 405s ok 1787 /checksum/SHA512/reset/119 405s ok 1788 /checksum/SHA512/reset/120 405s ok 1789 /checksum/SHA512/reset/121 405s ok 1790 /checksum/SHA512/reset/122 405s ok 1791 /checksum/SHA512/reset/123 405s ok 1792 /checksum/SHA512/reset/124 405s ok 1793 /checksum/SHA512/reset/125 405s ok 1794 /checksum/SHA512/reset/126 405s ok 1795 /checksum/SHA512/reset/127 405s ok 1796 /checksum/SHA512/reset/128 405s ok 1797 /checksum/SHA512/reset/129 405s ok 1798 /checksum/SHA512/reset/130 405s ok 1799 /checksum/SHA512/reset/131 405s ok 1800 /checksum/SHA512/reset/132 405s ok 1801 /checksum/SHA512/reset/133 405s ok 1802 /checksum/SHA512/reset/134 405s ok 1803 /checksum/SHA512/reset/135 405s ok 1804 /checksum/SHA512/reset/136 405s ok 1805 /checksum/SHA512/reset/137 405s ok 1806 /checksum/SHA512/reset/138 405s ok 1807 /checksum/SHA512/reset/139 405s ok 1808 /checksum/SHA512/reset/140 405s ok 1809 /checksum/SHA512/reset/141 405s ok 1810 /checksum/SHA512/reset/142 405s ok 1811 /checksum/SHA512/reset/143 405s ok 1812 /checksum/SHA512/reset/144 405s ok 1813 /checksum/SHA512/reset/145 405s ok 1814 /checksum/SHA512/reset/146 405s ok 1815 /checksum/SHA512/reset/147 405s ok 1816 /checksum/SHA512/reset/148 405s ok 1817 /checksum/SHA512/reset/149 405s ok 1818 /checksum/SHA512/reset/150 405s ok 1819 /checksum/SHA512/reset/151 405s ok 1820 /checksum/SHA512/reset/152 405s ok 1821 /checksum/SHA512/reset/153 405s ok 1822 /checksum/SHA512/reset/154 405s ok 1823 /checksum/SHA512/reset/155 405s ok 1824 /checksum/SHA512/reset/156 405s ok 1825 /checksum/SHA512/reset/157 405s ok 1826 /checksum/SHA512/reset/158 405s ok 1827 /checksum/SHA512/reset/159 405s ok 1828 /checksum/SHA512/reset/160 405s ok 1829 /checksum/SHA512/reset/161 405s ok 1830 /checksum/SHA512/reset/162 405s ok 1831 /checksum/SHA512/reset/163 405s ok 1832 /checksum/SHA512/reset/164 405s ok 1833 /checksum/SHA512/reset/165 405s ok 1834 /checksum/SHA512/reset/166 405s ok 1835 /checksum/SHA512/reset/167 405s ok 1836 /checksum/SHA512/reset/168 405s ok 1837 /checksum/SHA512/reset/169 405s ok 1838 /checksum/SHA512/reset/170 405s ok 1839 /checksum/SHA512/reset/171 405s ok 1840 /checksum/SHA512/reset/172 405s ok 1841 /checksum/SHA512/reset/173 405s ok 1842 /checksum/SHA512/reset/174 405s ok 1843 /checksum/SHA512/reset/175 405s ok 1844 /checksum/SHA512/reset/176 405s ok 1845 /checksum/SHA512/reset/177 405s ok 1846 /checksum/SHA512/reset/178 405s ok 1847 /checksum/SHA512/reset/179 405s ok 1848 /checksum/SHA512/reset/180 405s ok 1849 /checksum/SHA512/reset/181 405s ok 1850 /checksum/SHA512/reset/182 405s ok 1851 /checksum/SHA512/reset/183 405s # End of reset tests 405s # End of SHA512 tests 405s # End of checksum tests 405s ok - glib/checksum.test 405s # Running test: glib/basic-signals.test 405s TAP version 14 405s # random seed: R02S9a6ae0df4c7cebcc08555c0aaf204e23 405s 1..1 405s # Start of gobject tests 405s ok 1 /gobject/basic-signals 405s # End of gobject tests 405s ok - glib/basic-signals.test 405s # Running test: glib/appmonitor.test 405s TAP version 14 405s # random seed: R02S1fceb70b03dcacbd9f538003d794b0f6 405s 1..1 405s # Start of monitor tests 405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/home 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/cache 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/system-config2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/config 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/system-data2 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/data 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/state 405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/runtime 405s # Using data directory: /tmp/test_appmonitor_K1JKX2/monitor/app/.dirs/data 405s ok 1 /monitor/app 405s # End of monitor tests 405s ok - glib/appmonitor.test 405s # Running test: glib/option-argv0.test 405s TAP version 14 405s # random seed: R02S3758b0badce17252602ce33cd2da3c1b 405s 1..1 405s # Start of option tests 405s ok 1 /option/argv0 405s # End of option tests 405s ok - glib/option-argv0.test 405s # Running test: glib/io-channel-basic.test 405s TAP version 14 405s # random seed: R02Saee756449b1ad6051c7f6ae34fd59aa0 405s 1..1 405s # Start of gio tests 405s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 405s # random seed: R02Sd64f3ef1d7d53fa3ad4771e7be18583a 405s # GLib-DEBUG: io-channel-basic: child writing 8+2116 bytes to 6 405s # GLib-DEBUG: io-channel-basic: ...from 5: IN 405s # GLib-DEBUG: io-channel-basic: ...from 5: 2116 bytes 405s # GLib-DEBUG: io-channel-basic: ...from 5: OK 406s # GLib-DEBUG: io-channel-basic: child writing 8+4547 bytes to 6 406s # GLib-DEBUG: io-channel-basic: ...from 5: IN 406s # GLib-DEBUG: io-channel-basic: ...from 5: 4547 bytes 406s # GLib-DEBUG: io-channel-basic: ...from 5: OK 406s # GLib-DEBUG: io-channel-basic: child writing 8+4303 bytes to 6 406s # GLib-DEBUG: io-channel-basic: ...from 5: IN 406s # GLib-DEBUG: io-channel-basic: ...from 5: 4303 bytes 406s # GLib-DEBUG: io-channel-basic: ...from 5: OK 406s # GLib-DEBUG: io-channel-basic: child writing 8+3352 bytes to 6 406s # GLib-DEBUG: io-channel-basic: ...from 5: IN 406s # GLib-DEBUG: io-channel-basic: ...from 5: 3352 bytes 406s # GLib-DEBUG: io-channel-basic: ...from 5: OK 407s # GLib-DEBUG: io-channel-basic: child writing 8+697 bytes to 6 407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 407s # GLib-DEBUG: io-channel-basic: ...from 5: 697 bytes 407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 407s # GLib-DEBUG: io-channel-basic: child writing 8+3285 bytes to 6 407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 407s # GLib-DEBUG: io-channel-basic: ...from 5: 3285 bytes 407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 407s # Executing: glib/io-channel-basic.test 407s # GLib-DEBUG: io-channel-basic: child writing 8+3465 bytes to 6 407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 407s # GLib-DEBUG: io-channel-basic: ...from 5: 3465 bytes 407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 407s # GLib-DEBUG: io-channel-basic: child writing 8+4657 bytes to 6 407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 407s # GLib-DEBUG: io-channel-basic: ...from 5: 4657 bytes 407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 408s # GLib-DEBUG: io-channel-basic: child writing 8+1475 bytes to 6 408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 408s # GLib-DEBUG: io-channel-basic: ...from 5: 1475 bytes 408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 408s # GLib-DEBUG: io-channel-basic: child writing 8+1412 bytes to 6 408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 408s # GLib-DEBUG: io-channel-basic: ...from 5: 1412 bytes 408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 408s # GLib-DEBUG: io-channel-basic: child writing 8+889 bytes to 6 408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 408s # GLib-DEBUG: io-channel-basic: ...from 5: 889 bytes 408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 408s # GLib-DEBUG: io-channel-basic: child writing 8+946 bytes to 6 408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 408s # GLib-DEBUG: io-channel-basic: ...from 5: 946 bytes 408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 409s # GLib-DEBUG: io-channel-basic: child writing 8+384 bytes to 6 409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 409s # GLib-DEBUG: io-channel-basic: ...from 5: 384 bytes 409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 409s # GLib-DEBUG: io-channel-basic: child writing 8+1564 bytes to 6 409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 409s # GLib-DEBUG: io-channel-basic: ...from 5: 1564 bytes 409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 409s # GLib-DEBUG: io-channel-basic: child writing 8+709 bytes to 6 409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 409s # GLib-DEBUG: io-channel-basic: ...from 5: 709 bytes 409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 409s # GLib-DEBUG: io-channel-basic: child writing 8+234 bytes to 6 409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 409s # GLib-DEBUG: io-channel-basic: ...from 5: 234 bytes 409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 410s # GLib-DEBUG: io-channel-basic: child writing 8+3944 bytes to 6 410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 410s # GLib-DEBUG: io-channel-basic: ...from 5: 3944 bytes 410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 410s # GLib-DEBUG: io-channel-basic: child writing 8+4623 bytes to 6 410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 410s # GLib-DEBUG: io-channel-basic: ...from 5: 4623 bytes 410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 410s # GLib-DEBUG: io-channel-basic: child writing 8+159 bytes to 6 410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 410s # GLib-DEBUG: io-channel-basic: ...from 5: 159 bytes 410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 410s # GLib-DEBUG: io-channel-basic: child writing 8+1171 bytes to 6 410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 410s # GLib-DEBUG: io-channel-basic: ...from 5: 1171 bytes 410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 411s # GLib-DEBUG: io-channel-basic: child writing 8+3884 bytes to 6 411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 411s # GLib-DEBUG: io-channel-basic: ...from 5: 3884 bytes 411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 411s # GLib-DEBUG: io-channel-basic: child writing 8+824 bytes to 6 411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 411s # GLib-DEBUG: io-channel-basic: ...from 5: 824 bytes 411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 411s # GLib-DEBUG: io-channel-basic: child writing 8+1449 bytes to 6 411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 411s # GLib-DEBUG: io-channel-basic: ...from 5: 1449 bytes 411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 411s # GLib-DEBUG: io-channel-basic: child writing 8+2682 bytes to 6 411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 411s # GLib-DEBUG: io-channel-basic: ...from 5: 2682 bytes 411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 412s # GLib-DEBUG: io-channel-basic: child writing 8+3635 bytes to 6 412s # GLib-DEBUG: io-channel-basic: ...from 5: IN 412s # GLib-DEBUG: io-channel-basic: ...from 5: 3635 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 5: OK 412s # Executing: glib/io-channel-basic.test 412s # GLib-DEBUG: io-channel-basic: child writing 8+118 bytes to 6 412s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 412s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 412s # GLib-DEBUG: io-channel-basic: ...from 5: 118 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 5: OK 412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 412s # random seed: R02S762806ed259fc52c889c614dafa092a1 412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 412s # random seed: R02Sd52137e3278b3f816f9944c79c4eda8e 412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 412s # random seed: R02S30030a2d9255ca0110cadb54f46819c0 412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 412s # random seed: R02S507b843535670734fe4a2fe2feccb998 412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 412s # random seed: R02Sc2a9e7f598a1636b5a576dbfcefdc286 412s # GLib-DEBUG: io-channel-basic: child writing 8+1631 bytes to 15 412s # GLib-DEBUG: io-channel-basic: ...from 14: IN 412s # GLib-DEBUG: io-channel-basic: ...from 14: 1631 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 14: OK 412s # GLib-DEBUG: io-channel-basic: child writing 8+3424 bytes to 11 412s # GLib-DEBUG: io-channel-basic: ...from 10: IN 412s # GLib-DEBUG: io-channel-basic: ...from 10: 3424 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 10: OK 412s # GLib-DEBUG: io-channel-basic: child writing 8+3788 bytes to 13 412s # GLib-DEBUG: io-channel-basic: ...from 12: IN 412s # GLib-DEBUG: io-channel-basic: ...from 12: 3788 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 12: OK 412s # GLib-DEBUG: io-channel-basic: child writing 8+1584 bytes to 9 412s # GLib-DEBUG: io-channel-basic: ...from 8: IN 412s # GLib-DEBUG: io-channel-basic: ...from 8: 1584 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 8: OK 412s # GLib-DEBUG: io-channel-basic: child writing 8+1222 bytes to 17 412s # GLib-DEBUG: io-channel-basic: ...from 16: IN 412s # GLib-DEBUG: io-channel-basic: ...from 16: 1222 bytes 412s # GLib-DEBUG: io-channel-basic: ...from 16: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4152 bytes to 13 413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 413s # GLib-DEBUG: io-channel-basic: ...from 12: 4152 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1866 bytes to 15 413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 413s # GLib-DEBUG: io-channel-basic: ...from 14: 1866 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1605 bytes to 11 413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 413s # GLib-DEBUG: io-channel-basic: ...from 10: 1605 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+458 bytes to 17 413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 413s # GLib-DEBUG: io-channel-basic: ...from 16: 458 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+538 bytes to 9 413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 413s # GLib-DEBUG: io-channel-basic: ...from 8: 538 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1873 bytes to 11 413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 413s # GLib-DEBUG: io-channel-basic: ...from 10: 1873 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1769 bytes to 13 413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 413s # GLib-DEBUG: io-channel-basic: ...from 12: 1769 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+706 bytes to 15 413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 413s # GLib-DEBUG: io-channel-basic: ...from 14: 706 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+307 bytes to 17 413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 413s # GLib-DEBUG: io-channel-basic: ...from 16: 307 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4964 bytes to 9 413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 413s # GLib-DEBUG: io-channel-basic: ...from 8: 4964 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4650 bytes to 11 413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 413s # GLib-DEBUG: io-channel-basic: ...from 10: 4650 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+63 bytes to 13 413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 413s # GLib-DEBUG: io-channel-basic: ...from 12: 63 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+2472 bytes to 15 413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 413s # GLib-DEBUG: io-channel-basic: ...from 14: 2472 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4054 bytes to 9 413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 413s # GLib-DEBUG: io-channel-basic: ...from 8: 4054 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+2113 bytes to 17 413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 413s # GLib-DEBUG: io-channel-basic: ...from 16: 2113 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1249 bytes to 11 413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 413s # GLib-DEBUG: io-channel-basic: ...from 10: 1249 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+1913 bytes to 15 413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 413s # GLib-DEBUG: io-channel-basic: ...from 14: 1913 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4023 bytes to 13 413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 413s # GLib-DEBUG: io-channel-basic: ...from 12: 4023 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4006 bytes to 9 413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 413s # GLib-DEBUG: io-channel-basic: ...from 8: 4006 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 413s # GLib-DEBUG: io-channel-basic: child writing 8+4864 bytes to 17 413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 413s # GLib-DEBUG: io-channel-basic: ...from 16: 4864 bytes 413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2433 bytes to 15 414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 414s # GLib-DEBUG: io-channel-basic: ...from 14: 2433 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+1636 bytes to 11 414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 414s # GLib-DEBUG: io-channel-basic: ...from 10: 1636 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2122 bytes to 13 414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 414s # GLib-DEBUG: io-channel-basic: ...from 12: 2122 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3512 bytes to 17 414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 414s # GLib-DEBUG: io-channel-basic: ...from 16: 3512 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3241 bytes to 9 414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 414s # GLib-DEBUG: io-channel-basic: ...from 8: 3241 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3502 bytes to 15 414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 414s # GLib-DEBUG: io-channel-basic: ...from 14: 3502 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+4967 bytes to 13 414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 414s # GLib-DEBUG: io-channel-basic: ...from 12: 4967 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+4618 bytes to 11 414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 414s # GLib-DEBUG: io-channel-basic: ...from 10: 4618 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+4597 bytes to 17 414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 414s # GLib-DEBUG: io-channel-basic: ...from 16: 4597 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+351 bytes to 9 414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 414s # GLib-DEBUG: io-channel-basic: ...from 8: 351 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+1912 bytes to 15 414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 414s # GLib-DEBUG: io-channel-basic: ...from 14: 1912 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3230 bytes to 11 414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 414s # GLib-DEBUG: io-channel-basic: ...from 10: 3230 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3773 bytes to 13 414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 414s # GLib-DEBUG: io-channel-basic: ...from 12: 3773 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2047 bytes to 17 414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 414s # GLib-DEBUG: io-channel-basic: ...from 16: 2047 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+1594 bytes to 9 414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 414s # GLib-DEBUG: io-channel-basic: ...from 8: 1594 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 11 414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 414s # GLib-DEBUG: io-channel-basic: ...from 10: 2613 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+4484 bytes to 15 414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 414s # GLib-DEBUG: io-channel-basic: ...from 14: 4484 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+3748 bytes to 13 414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 414s # GLib-DEBUG: io-channel-basic: ...from 12: 3748 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2503 bytes to 17 414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 414s # GLib-DEBUG: io-channel-basic: ...from 16: 2503 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 414s # GLib-DEBUG: io-channel-basic: child writing 8+2970 bytes to 9 414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 414s # GLib-DEBUG: io-channel-basic: ...from 8: 2970 bytes 414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+3841 bytes to 11 415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 415s # GLib-DEBUG: io-channel-basic: ...from 10: 3841 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+2853 bytes to 15 415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 415s # GLib-DEBUG: io-channel-basic: ...from 14: 2853 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+821 bytes to 13 415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 415s # GLib-DEBUG: io-channel-basic: ...from 12: 821 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+727 bytes to 17 415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 415s # GLib-DEBUG: io-channel-basic: ...from 16: 727 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+3078 bytes to 9 415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 415s # GLib-DEBUG: io-channel-basic: ...from 8: 3078 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+33 bytes to 11 415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 415s # GLib-DEBUG: io-channel-basic: ...from 10: 33 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+1683 bytes to 15 415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 415s # GLib-DEBUG: io-channel-basic: ...from 14: 1683 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+4335 bytes to 13 415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 415s # GLib-DEBUG: io-channel-basic: ...from 12: 4335 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+2603 bytes to 17 415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 415s # GLib-DEBUG: io-channel-basic: ...from 16: 2603 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+1675 bytes to 9 415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 415s # GLib-DEBUG: io-channel-basic: ...from 8: 1675 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+101 bytes to 11 415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 415s # GLib-DEBUG: io-channel-basic: ...from 10: 101 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+2852 bytes to 15 415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 415s # GLib-DEBUG: io-channel-basic: ...from 14: 2852 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+1009 bytes to 13 415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 415s # GLib-DEBUG: io-channel-basic: ...from 12: 1009 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+3867 bytes to 17 415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 415s # GLib-DEBUG: io-channel-basic: ...from 16: 3867 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+2152 bytes to 9 415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 415s # GLib-DEBUG: io-channel-basic: ...from 8: 2152 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+2522 bytes to 11 415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 415s # GLib-DEBUG: io-channel-basic: ...from 10: 2522 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+635 bytes to 15 415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 415s # GLib-DEBUG: io-channel-basic: ...from 14: 635 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+227 bytes to 17 415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 415s # GLib-DEBUG: io-channel-basic: ...from 16: 227 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+424 bytes to 13 415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 415s # GLib-DEBUG: io-channel-basic: ...from 12: 424 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 415s # GLib-DEBUG: io-channel-basic: child writing 8+3901 bytes to 9 415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 415s # GLib-DEBUG: io-channel-basic: ...from 8: 3901 bytes 415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+2834 bytes to 11 416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 416s # GLib-DEBUG: io-channel-basic: ...from 10: 2834 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+2720 bytes to 13 416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 416s # GLib-DEBUG: io-channel-basic: ...from 12: 2720 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+3412 bytes to 15 416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 416s # GLib-DEBUG: io-channel-basic: ...from 14: 3412 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+4988 bytes to 17 416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 416s # GLib-DEBUG: io-channel-basic: ...from 16: 4988 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+4747 bytes to 9 416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 416s # GLib-DEBUG: io-channel-basic: ...from 8: 4747 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+1763 bytes to 11 416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 416s # GLib-DEBUG: io-channel-basic: ...from 10: 1763 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 13 416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 416s # GLib-DEBUG: io-channel-basic: ...from 12: 3859 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 17 416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 416s # GLib-DEBUG: io-channel-basic: ...from 16: 1495 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+2647 bytes to 15 416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 416s # GLib-DEBUG: io-channel-basic: ...from 14: 2647 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+4592 bytes to 9 416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 416s # GLib-DEBUG: io-channel-basic: ...from 8: 4592 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+154 bytes to 11 416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 416s # GLib-DEBUG: io-channel-basic: ...from 10: 154 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+3677 bytes to 13 416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 416s # GLib-DEBUG: io-channel-basic: ...from 12: 3677 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+1989 bytes to 15 416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 416s # GLib-DEBUG: io-channel-basic: ...from 14: 1989 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+1651 bytes to 17 416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 416s # GLib-DEBUG: io-channel-basic: ...from 16: 1651 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+191 bytes to 9 416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 416s # GLib-DEBUG: io-channel-basic: ...from 8: 191 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+1360 bytes to 11 416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 416s # GLib-DEBUG: io-channel-basic: ...from 10: 1360 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+3189 bytes to 13 416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 416s # GLib-DEBUG: io-channel-basic: ...from 12: 3189 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+3522 bytes to 15 416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 416s # GLib-DEBUG: io-channel-basic: ...from 14: 3522 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+2126 bytes to 17 416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 416s # GLib-DEBUG: io-channel-basic: ...from 16: 2126 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 416s # GLib-DEBUG: io-channel-basic: child writing 8+269 bytes to 9 416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 416s # GLib-DEBUG: io-channel-basic: ...from 8: 269 bytes 416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+3345 bytes to 11 417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 417s # GLib-DEBUG: io-channel-basic: ...from 10: 3345 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+487 bytes to 13 417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 417s # GLib-DEBUG: io-channel-basic: ...from 12: 487 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+2127 bytes to 15 417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 417s # GLib-DEBUG: io-channel-basic: ...from 14: 2127 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+3667 bytes to 17 417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 417s # GLib-DEBUG: io-channel-basic: ...from 16: 3667 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+4456 bytes to 9 417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 417s # GLib-DEBUG: io-channel-basic: ...from 8: 4456 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+1766 bytes to 11 417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 417s # GLib-DEBUG: io-channel-basic: ...from 10: 1766 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 417s # Executing: glib/io-channel-basic.test 417s # GLib-DEBUG: io-channel-basic: child writing 8+677 bytes to 13 417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 417s # GLib-DEBUG: io-channel-basic: ...from 12: 677 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+1863 bytes to 17 417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 417s # GLib-DEBUG: io-channel-basic: ...from 16: 1863 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+3386 bytes to 15 417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 417s # GLib-DEBUG: io-channel-basic: ...from 14: 3386 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+1485 bytes to 9 417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 417s # GLib-DEBUG: io-channel-basic: ...from 8: 1485 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+3029 bytes to 11 417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 417s # GLib-DEBUG: io-channel-basic: ...from 10: 3029 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+1772 bytes to 13 417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 417s # GLib-DEBUG: io-channel-basic: ...from 12: 1772 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+2460 bytes to 17 417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 417s # GLib-DEBUG: io-channel-basic: ...from 16: 2460 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+157 bytes to 15 417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 417s # GLib-DEBUG: io-channel-basic: ...from 14: 157 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+4775 bytes to 9 417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 417s # GLib-DEBUG: io-channel-basic: ...from 8: 4775 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+1724 bytes to 11 417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 417s # GLib-DEBUG: io-channel-basic: ...from 10: 1724 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+2118 bytes to 13 417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 417s # GLib-DEBUG: io-channel-basic: ...from 12: 2118 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+2724 bytes to 17 417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 417s # GLib-DEBUG: io-channel-basic: ...from 16: 2724 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 417s # GLib-DEBUG: io-channel-basic: child writing 8+2472 bytes to 15 417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 417s # GLib-DEBUG: io-channel-basic: ...from 14: 2472 bytes 417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+4712 bytes to 9 418s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 418s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 418s # GLib-DEBUG: io-channel-basic: ...from 8: 4712 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 8: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+3264 bytes to 11 418s # GLib-DEBUG: io-channel-basic: ...from 10: IN 418s # GLib-DEBUG: io-channel-basic: ...from 10: 3264 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 10: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+4542 bytes to 13 418s # GLib-DEBUG: io-channel-basic: ...from 12: IN 418s # GLib-DEBUG: io-channel-basic: ...from 12: 4542 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 12: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+1518 bytes to 17 418s # GLib-DEBUG: io-channel-basic: ...from 16: IN 418s # GLib-DEBUG: io-channel-basic: ...from 16: 1518 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 16: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+3194 bytes to 15 418s # GLib-DEBUG: io-channel-basic: ...from 14: IN 418s # GLib-DEBUG: io-channel-basic: ...from 14: 3194 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+4516 bytes to 11 418s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 418s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 418s # GLib-DEBUG: io-channel-basic: ...from 10: 4516 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 10: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+3689 bytes to 13 418s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 418s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 418s # GLib-DEBUG: io-channel-basic: ...from 12: 3689 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 12: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+2341 bytes to 17 418s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 418s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 418s # GLib-DEBUG: io-channel-basic: ...from 16: 2341 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 16: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+2423 bytes to 15 418s # GLib-DEBUG: io-channel-basic: ...from 14: IN 418s # GLib-DEBUG: io-channel-basic: ...from 14: 2423 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 418s # GLib-DEBUG: io-channel-basic: child writing 8+1982 bytes to 15 418s # GLib-DEBUG: io-channel-basic: ...from 14: IN 418s # GLib-DEBUG: io-channel-basic: ...from 14: 1982 bytes 418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 419s # GLib-DEBUG: io-channel-basic: child writing 8+3472 bytes to 15 419s # GLib-DEBUG: io-channel-basic: ...from 14: IN 419s # GLib-DEBUG: io-channel-basic: ...from 14: 3472 bytes 419s # GLib-DEBUG: io-channel-basic: ...from 14: OK 419s # GLib-DEBUG: io-channel-basic: child writing 8+805 bytes to 15 419s # GLib-DEBUG: io-channel-basic: ...from 14: IN 419s # GLib-DEBUG: io-channel-basic: ...from 14: 805 bytes 419s # GLib-DEBUG: io-channel-basic: ...from 14: OK 419s # GLib-DEBUG: io-channel-basic: child writing 8+2759 bytes to 15 419s # GLib-DEBUG: io-channel-basic: ...from 14: IN 419s # GLib-DEBUG: io-channel-basic: ...from 14: 2759 bytes 419s # GLib-DEBUG: io-channel-basic: ...from 14: OK 419s # GLib-DEBUG: io-channel-basic: child writing 8+382 bytes to 15 419s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 419s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 419s # GLib-DEBUG: io-channel-basic: ...from 14: 382 bytes 419s # GLib-DEBUG: io-channel-basic: ...from 14: OK 419s ok 1 /gio/io-basics 419s # slow test /gio/io-basics executed in 14.13 secs 419s # End of gio tests 419s ok - glib/io-channel-basic.test 419s # Running test: glib/gdbus-connection-loss.test 419s TAP version 14 419s # random seed: R02Se622e059a1839ac2d0c08086d5a7e622 419s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 419s 1..1 419s # Start of gdbus tests 419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/home 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/cache 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/system-config2 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/config 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/system-data2 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/data 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/state 419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_0KYBX2/gdbus/connection-loss/.dirs/runtime 419s ok 1 /gdbus/connection-loss 419s # End of gdbus tests 419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 419s ok - glib/gdbus-connection-loss.test 419s # Running test: glib/stream-rw_all.test 419s TAP version 14 419s # random seed: R02S8c265bf363a54d9b6246a90d7fb87393 419s 1..3 419s # Start of stream tests 419s # Start of read_all_async tests 419s ok 1 /stream/read_all_async/memory 419s # End of read_all_async tests 419s # Start of write_all_async tests 419s ok 2 /stream/write_all_async/memory 419s # End of write_all_async tests 419s # Start of read_write_all_async tests 419s ok 3 /stream/read_write_all_async/pipe 419s # End of read_write_all_async tests 419s # End of stream tests 419s ok - glib/stream-rw_all.test 419s # Running test: glib/asyncqueue.test 419s TAP version 14 419s # random seed: R02S0c58f616faa385a7ad0513dee820c829 419s 1..7 419s # Start of asyncqueue tests 419s ok 1 /asyncqueue/basics 419s ok 2 /asyncqueue/sort 419s ok 3 /asyncqueue/destroy 420s ok 4 /asyncqueue/threads 420s ok 5 /asyncqueue/timed 420s ok 6 /asyncqueue/remove 420s ok 7 /asyncqueue/push_front 420s # End of asyncqueue tests 420s ok - glib/asyncqueue.test 420s # Running test: glib/gdbus-addresses.test 420s TAP version 14 420s # random seed: R02S1722a394f46495ab90f57022270a0cb0 420s 1..9 420s # Start of gdbus tests 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/empty-address/.dirs/runtime 420s ok 1 /gdbus/empty-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/unsupported-address/.dirs/runtime 420s ok 2 /gdbus/unsupported-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/address-parsing/.dirs/runtime 420s ok 3 /gdbus/address-parsing 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/unix-address/.dirs/runtime 420s ok 4 /gdbus/unix-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/nonce-tcp-address/.dirs/runtime 420s ok 5 /gdbus/nonce-tcp-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/tcp-address/.dirs/runtime 420s ok 6 /gdbus/tcp-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/autolaunch-address/.dirs/runtime 420s ok 7 /gdbus/autolaunch-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/mixed-address/.dirs/runtime 420s ok 8 /gdbus/mixed-address 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NC92W2/gdbus/escape-address/.dirs/runtime 420s ok 9 /gdbus/escape-address 420s # End of gdbus tests 420s ok - glib/gdbus-addresses.test 420s # Running test: glib/shell.test 420s TAP version 14 420s # random seed: R02S8a759e63edc1b5cc28d0b24a8b0b6bfc 420s 1..51 420s # Start of shell tests 420s # Start of cmdline tests 420s test cmdline: foo bar 420s ok 1 /shell/cmdline/0 420s test cmdline: foo 'bar' 420s ok 2 /shell/cmdline/1 420s test cmdline: foo "bar" 420s ok 3 /shell/cmdline/2 420s test cmdline: foo '' 'bar' 420s ok 4 /shell/cmdline/3 420s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 420s ok 5 /shell/cmdline/4 420s test cmdline: foo blah foo bar baz 420s ok 6 /shell/cmdline/5 420s test cmdline: foo ' spaces more spaces lots of spaces in this ' 420s ok 7 /shell/cmdline/6 420s test cmdline: foo \ 420s bar 420s ok 8 /shell/cmdline/7 420s test cmdline: foo '' '' 420s ok 9 /shell/cmdline/8 420s test cmdline: foo \" la la la 420s ok 10 /shell/cmdline/9 420s test cmdline: foo \ foo woo woo\ 420s ok 11 /shell/cmdline/10 420s test cmdline: foo "yada yada \$\"" 420s ok 12 /shell/cmdline/11 420s test cmdline: foo "c:\\" 420s ok 13 /shell/cmdline/12 420s test cmdline: foo # bla bla bla 420s bar 420s ok 14 /shell/cmdline/13 420s test cmdline: foo a#b 420s ok 15 /shell/cmdline/14 420s test cmdline: #foo 420s ok 16 /shell/cmdline/15 420s test cmdline: foo bar \ 420s ok 17 /shell/cmdline/16 420s test cmdline: foo 'bar baz 420s ok 18 /shell/cmdline/17 420s test cmdline: foo '"bar" baz 420s ok 19 /shell/cmdline/18 420s test cmdline: 420s ok 20 /shell/cmdline/19 420s test cmdline: 420s ok 21 /shell/cmdline/20 420s test cmdline: # foo bar 420s ok 22 /shell/cmdline/21 420s test cmdline: foo '/bar/summer'\''09 tours.pdf' 420s ok 23 /shell/cmdline/22 420s # End of cmdline tests 420s # Start of quote tests 420s ok 24 /shell/quote/0 420s ok 25 /shell/quote/1 420s ok 26 /shell/quote/2 420s ok 27 /shell/quote/3 420s ok 28 /shell/quote/4 420s ok 29 /shell/quote/5 420s ok 30 /shell/quote/6 420s # End of quote tests 420s # Start of unquote tests 420s ok 31 /shell/unquote/0 420s ok 32 /shell/unquote/1 420s ok 33 /shell/unquote/2 420s ok 34 /shell/unquote/3 420s ok 35 /shell/unquote/4 420s ok 36 /shell/unquote/5 420s ok 37 /shell/unquote/6 420s ok 38 /shell/unquote/7 420s ok 39 /shell/unquote/8 420s ok 40 /shell/unquote/9 420s ok 41 /shell/unquote/10 420s ok 42 /shell/unquote/11 420s ok 43 /shell/unquote/12 420s ok 44 /shell/unquote/13 420s ok 45 /shell/unquote/14 420s ok 46 /shell/unquote/15 420s ok 47 /shell/unquote/16 420s ok 48 /shell/unquote/17 420s ok 49 /shell/unquote/18 420s ok 50 /shell/unquote/19 420s ok 51 /shell/unquote/20 420s # End of unquote tests 420s # End of shell tests 420s ok - glib/shell.test 420s # Running test: glib/strfuncs.test 420s TAP version 14 420s # random seed: R02Scd9a8e6c511ce9827b81d9bd35fd3548 420s 1..50 420s # Start of strfuncs tests 420s ok 1 /strfuncs/ascii-strcasecmp 420s ok 2 /strfuncs/ascii_strdown 420s ok 3 /strfuncs/ascii_strdup 420s ok 4 /strfuncs/ascii_strtod 420s ok 5 /strfuncs/bounds-check 420s ok 6 /strfuncs/has-prefix 420s ok 7 /strfuncs/has-prefix-macro 420s ok 8 /strfuncs/has-suffix 420s ok 9 /strfuncs/has-suffix-macro 420s ok 10 /strfuncs/memdup 420s ok 11 /strfuncs/memdup2 420s ok 12 /strfuncs/set_str 420s ok 13 /strfuncs/stpcpy 420s ok 14 /strfuncs/str_match_string 420s ok 15 /strfuncs/str_tokenize_and_fold 420s ok 16 /strfuncs/strcanon 420s ok 17 /strfuncs/strchomp 420s ok 18 /strfuncs/strchug 420s ok 19 /strfuncs/strcompress-strescape 420s ok 20 /strfuncs/strconcat 420s ok 21 /strfuncs/strdelimit 420s ok 22 /strfuncs/strdup 420s ok 23 /strfuncs/strdup-printf 420s ok 24 /strfuncs/strdupv 420s ok 25 /strfuncs/strerror 420s ok 26 /strfuncs/strip-context 420s ok 27 /strfuncs/strjoin 420s ok 28 /strfuncs/strjoinv 420s ok 29 /strfuncs/strlcat 420s ok 30 /strfuncs/strlcpy 420s ok 31 /strfuncs/strncasecmp 420s ok 32 /strfuncs/strndup 420s ok 33 /strfuncs/strnfill 420s ok 34 /strfuncs/strreverse 420s ok 35 /strfuncs/strsignal 420s ok 36 /strfuncs/strsplit 420s ok 37 /strfuncs/strsplit-set 420s ok 38 /strfuncs/strstr 420s ok 39 /strfuncs/strtod 420s ok 40 /strfuncs/strtoull-strtoll 420s ok 41 /strfuncs/strup 420s ok 42 /strfuncs/strv-contains 420s ok 43 /strfuncs/strv-equal 420s ok 44 /strfuncs/strv-length 420s ok 45 /strfuncs/test-is-to-digit 420s ok 46 /strfuncs/transliteration 420s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 420s ok 47 /strfuncs/str-equal 420s # Start of ascii-string-to-num tests 420s ok 48 /strfuncs/ascii-string-to-num/pathological 420s ok 49 /strfuncs/ascii-string-to-num/usual 420s # End of ascii-string-to-num tests 420s # Start of strdup tests 420s ok 50 /strfuncs/strdup/inline 420s # End of strdup tests 420s # End of strfuncs tests 420s ok - glib/strfuncs.test 420s # Running test: glib/buffered-output-stream.test 420s TAP version 14 420s # random seed: R02S52bb7ed851b75f5143b14b0aa09e0eb8 420s 1..5 420s # Start of buffered-output-stream tests 420s ok 1 /buffered-output-stream/write 420s ok 2 /buffered-output-stream/grow 420s ok 3 /buffered-output-stream/seek 420s ok 4 /buffered-output-stream/truncate 420s # End of buffered-output-stream tests 420s # Start of filter-output-stream tests 420s ok 5 /filter-output-stream/close 420s # End of filter-output-stream tests 420s ok - glib/buffered-output-stream.test 420s # Running test: glib/resources.test 420s TAP version 14 420s # random seed: R02S95a283a003405368ae45be98d8c07b67 420s 1..17 420s # Start of resource tests 420s ok 1 /resource/file 420s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 420s ok 2 /resource/file-path 420s ok 3 /resource/data 420s ok 4 /resource/data_unaligned 420s ok 5 /resource/data-corrupt 420s ok 6 /resource/data-empty 420s ok 7 /resource/registered 420s ok 8 /resource/manual 420s ok 9 /resource/manual2 420s ok 10 /resource/automatic 420s ok 11 /resource/module 420s ok 12 /resource/binary-linked 420s ok 13 /resource/64k 420s GLib-GIO-Message: 08:37:04.426: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 420s ok 14 /resource/overlay 420s ok 15 /resource/digits 420s # Start of uri tests 420s ok 16 /resource/uri/query-info 420s ok 17 /resource/uri/file 420s # End of uri tests 420s # End of resource tests 420s ok - glib/resources.test 420s # Running test: glib/testing.test 420s TAP version 14 420s # random seed: R02S1a5609312a7f7daab8a4481f323af086 420s 1..1 420s # Start of assert tests 420s ok 1 /assert/finalize_object 420s # Start of finalize_object tests 420s # Start of subprocess tests 420s # End of subprocess tests 420s # End of finalize_object tests 420s # End of assert tests 420s ok - glib/testing.test 420s # Running test: glib/fdo-notification-backend.test 420s TAP version 14 420s # random seed: R02S40cad94bd4f3330a91fb6736eb706d33 420s 1..2 420s # Start of fdo-notification-backend tests 420s # Test constructing a GFdoNotificationBackend 420s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s ok 1 /fdo-notification-backend/construction 420s # Start of dbus tests 420s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 420s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 420s ok 2 /fdo-notification-backend/dbus/activate-action 420s # End of dbus tests 420s # End of fdo-notification-backend tests 420s ok - glib/fdo-notification-backend.test 420s # Running test: glib/cxx.test 420s TAP version 14 420s # random seed: R02S2be287c0b85e1a09d757879676bf6a90 420s 1..2 420s # Start of gtask tests 420s # 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. 420s ok 1 /gtask/name 420s # Start of name tests 420s # 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. 420s ok 2 /gtask/name/macro-wrapper 420s # End of name tests 420s # End of gtask tests 420s ok - glib/cxx.test 420s # Running test: glib/completion.test 420s TAP version 14 420s # random seed: R02S51f145cb73c92b9276610b67a635b3a4 420s 1..1 420s # Start of completion tests 420s ok 1 /completion/test-completion 420s # End of completion tests 420s ok - glib/completion.test 420s # Running test: glib/socket-service.test 420s TAP version 14 420s # random seed: R02S19500997609552d89bf74d5ef889a373 420s 1..4 420s # Start of socket-service tests 420s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 420s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x646ffb227370 and GSocketClientAsyncConnectData 0x646ffb21f620 420s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 420s ok 1 /socket-service/start-stop 420s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x646ffb228ed0 and GSocketClientAsyncConnectData 0x646ffb228c70 420s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 420s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 420s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x646ffb2293e0 for GSocketClientAsyncConnectData 0x646ffb21f620 420s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 420s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 420s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 420s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 420s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 420s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x646ffb22a260 for GSocketClientAsyncConnectData 0x646ffb228c70 420s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 420s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 420s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 420s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 420s ok 2 /socket-service/read_write_async 420s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x646ffb22cfb0 and GSocketClientAsyncConnectData 0x646ffb22a9d0 420s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 420s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 420s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x646ffb22b190 for GSocketClientAsyncConnectData 0x646ffb22a9d0 420s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 420s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 420s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 420s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 420s ok 3 /socket-service/read_writev_async 420s # Start of threaded tests 420s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 420s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x646ffb22e710 and GSocketClientAsyncConnectData 0x646ffb22ad50 420s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 420s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 420s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x646ffb22e940 for GSocketClientAsyncConnectData 0x646ffb22ad50 420s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 420s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 420s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 420s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 420s ok 4 /socket-service/threaded/712570 420s # End of threaded tests 420s # End of socket-service tests 420s ok - glib/socket-service.test 420s # Running test: glib/param.test 420s TAP version 14 420s # random seed: R02Sff5faba78ce38844d031fad14e5b8e02 420s 1..32 420s # Start of param tests 420s ok 1 /param/value 420s ok 2 /param/strings 420s ok 3 /param/qdata 420s ok 4 /param/validate 420s ok 5 /param/convert 420s ok 6 /param/implement # SKIP Skipping slow /param/implement test 420s ok 7 /param/default 420s ok 8 /param/is-valid-name 420s # Start of invalid-name tests 420s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 420s ok 9 /param/invalid-name/colon 420s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 420s ok 10 /param/invalid-name/first-char 420s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 420s ok 11 /param/invalid-name/empty 420s # End of invalid-name tests 420s # Start of implement tests 420s # Start of subprocess tests 420s # End of subprocess tests 420s # End of implement tests 420s # End of param tests 420s # Start of value tests 420s ok 12 /value/transform 420s # End of value tests 420s # Start of paramspec tests 420s ok 13 /paramspec/char 420s ok 14 /paramspec/uchar 420s ok 15 /paramspec/int 420s ok 16 /paramspec/uint 420s ok 17 /paramspec/long 420s ok 18 /paramspec/ulong 420s ok 19 /paramspec/int64 420s ok 20 /paramspec/uint64 420s ok 21 /paramspec/float 420s ok 22 /paramspec/double 420s ok 23 /paramspec/unichar 420s ok 24 /paramspec/param 420s ok 25 /paramspec/null-param 420s ok 26 /paramspec/string 420s ok 27 /paramspec/override 420s ok 28 /paramspec/gtype 420s ok 29 /paramspec/variant 420s ok 30 /paramspec/custom 420s ok 31 /paramspec/pool 420s # Start of variant tests 420s ok 32 /paramspec/variant/cmp 420s # End of variant tests 420s # End of paramspec tests 420s ok - glib/param.test 420s # Running test: glib/mem-overflow.test 420s TAP version 14 420s # random seed: R02S4e0a63083dfd7299dff857c26a4ce5d5 420s 1..2 420s # Start of mem tests 420s ok 1 /mem/overflow 420s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 420s ok 2 /mem/empty-alloc 420s # Start of overflow tests 420s # Start of subprocess tests 420s # End of subprocess tests 420s # End of overflow tests 420s # Start of empty-alloc tests 420s # End of empty-alloc tests 420s # End of mem tests 420s ok - glib/mem-overflow.test 420s # Running test: glib/task.test 420s TAP version 14 420s # random seed: R02S8a71fb8ba33fa9ef90db3a28df77d073 420s 1..36 420s # Start of gtask tests 420s ok 1 /gtask/basic 420s ok 2 /gtask/error 420s ok 3 /gtask/error-literal 420s ok 4 /gtask/error-literal-from-variable 420s ok 5 /gtask/return-from-same-iteration 420s ok 6 /gtask/return-from-toplevel 420s ok 7 /gtask/return-from-anon-thread 420s ok 8 /gtask/return-from-wrong-thread 420s ok 9 /gtask/no-callback 420s ok 10 /gtask/report-error 420s ok 11 /gtask/priority 420s ok 12 /gtask/name 420s ok 13 /gtask/static-name 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 420s ok 14 /gtask/asynchronous-cancellation 420s ok 15 /gtask/check-cancellable 420s ok 16 /gtask/return-if-cancelled 420s ok 17 /gtask/run-in-thread 420s ok 18 /gtask/run-in-thread-sync 420s ok 19 /gtask/run-in-thread-priority 421s ok 20 /gtask/run-in-thread-nested 421s ok 21 /gtask/run-in-thread-overflow 421s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 421s # GLib-GIO-DEBUG: GTask 0x6253dda99e30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 421s # GLib-GIO-DEBUG: GTask 0x6253dda9a690 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 421s ok 22 /gtask/return-on-cancel 421s # GLib-GIO-DEBUG: GTask 0x6253ddb09d80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 421s ok 23 /gtask/return-on-cancel-sync 421s # GLib-GIO-DEBUG: GTask 0x6253dda99c30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 421s ok 24 /gtask/return-on-cancel-atomic 421s ok 25 /gtask/return-pointer 421s ok 26 /gtask/return-value 421s ok 27 /gtask/return-prefixed-error 421s ok 28 /gtask/object-keepalive 421s ok 29 /gtask/legacy-error 421s ok 30 /gtask/finalize-without-return 421s # Start of name tests 421s ok 31 /gtask/name/macro-wrapper 421s # End of name tests 421s # Start of return tests 421s ok 32 /gtask/return/error-first 421s ok 33 /gtask/return/value-first 421s # Start of in-idle tests 421s ok 34 /gtask/return/in-idle/error-first 421s ok 35 /gtask/return/in-idle/value-first 421s # End of in-idle tests 421s # End of return tests 421s # Start of attach-source tests 421s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 421s ok 36 /gtask/attach-source/set-name 421s # End of attach-source tests 421s # End of gtask tests 421s ok - glib/task.test 421s # Running test: glib/performance-threaded.test 421s Running test "liststore-is-a" 422s # Executing: glib/performance-threaded.test 422s 24383 runs, min/avg/max = 0.038/0.041/1.041 ms 422s Running test "liststore-interface-peek" 423s 39609 runs, min/avg/max = 0.023/0.025/0.859 ms 423s Running test "liststore-interface-peek-same" 424s 39976 runs, min/avg/max = 0.023/0.025/1.280 ms 424s ok - glib/performance-threaded.test 424s # Running test: glib/inet-address.test 424s TAP version 14 424s # random seed: R02S3993f739be6c1d155768dda9a3fb2ccf 424s 1..11 424s # Start of inet-address tests 424s ok 1 /inet-address/parse 424s ok 2 /inet-address/any 424s ok 3 /inet-address/loopback 424s ok 4 /inet-address/bytes 424s ok 5 /inet-address/property 424s # End of inet-address tests 424s # Start of socket-address tests 424s ok 6 /socket-address/basic 424s ok 7 /socket-address/to-string 424s # End of socket-address tests 424s # Start of address-mask tests 424s ok 8 /address-mask/parse 424s ok 9 /address-mask/property 424s ok 10 /address-mask/equal 424s ok 11 /address-mask/match 424s # End of address-mask tests 424s ok - glib/inet-address.test 424s # Running test: glib/thread-deprecated.test 424s TAP version 14 424s # random seed: R02S43974a205bda5a51c261308d6ebaa920 424s 1..6 424s # Start of thread tests 424s ok 1 /thread/mutex 425s ok 2 /thread/static-rec-mutex 427s # Executing: glib/thread-deprecated.test 429s ok 3 /thread/static-private 429s # slow test /thread/static-private executed in 4.40 secs 432s # Executing: glib/thread-deprecated.test 434s ok 4 /thread/static-rw-lock 434s # slow test /thread/static-rw-lock executed in 5.00 secs 434s ok 5 /thread/once 437s # Executing: glib/thread-deprecated.test 442s # Executing: glib/thread-deprecated.test 444s ok 6 /thread/rerun-all 444s # slow test /thread/rerun-all executed in 10.02 secs 444s # End of thread tests 444s ok - glib/thread-deprecated.test 444s # Running test: glib/power-profile-monitor.test 444s TAP version 14 444s # random seed: R02Sbe322b06eb056b4abd5fbf5804248100 444s 1..1 444s # Start of power-profile-monitor tests 444s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 444s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 444s ok 1 /power-profile-monitor/default 444s # End of power-profile-monitor tests 444s ok - glib/power-profile-monitor.test 444s # Running test: glib/utf8-performance.test 444s TAP version 14 444s # random seed: R02S838946b68cade7aca1b1367b2fc9ca8b 444s 1..36 444s # Start of utf8 tests 444s # Start of perf tests 444s # Start of get_char tests 444s # max perf: 43.0 MB/s 444s ok 1 /utf8/perf/get_char/ascii 444s # max perf: 67.0 MB/s 444s ok 2 /utf8/perf/get_char/latin1 444s # max perf: inf MB/s 444s ok 3 /utf8/perf/get_char/cyrillic 444s # max perf: 156.0 MB/s 444s ok 4 /utf8/perf/get_char/han 444s # End of get_char tests 444s # Start of get_char-backwards tests 444s # max perf: 43.0 MB/s 444s ok 5 /utf8/perf/get_char-backwards/ascii 444s # max perf: 67.0 MB/s 444s ok 6 /utf8/perf/get_char-backwards/latin1 444s # max perf: inf MB/s 444s ok 7 /utf8/perf/get_char-backwards/cyrillic 444s # max perf: 156.0 MB/s 444s ok 8 /utf8/perf/get_char-backwards/han 444s # End of get_char-backwards tests 444s # Start of get_char_validated tests 444s # max perf: 43.0 MB/s 444s ok 9 /utf8/perf/get_char_validated/ascii 444s # max perf: 67.0 MB/s 444s ok 10 /utf8/perf/get_char_validated/latin1 444s # max perf: inf MB/s 444s ok 11 /utf8/perf/get_char_validated/cyrillic 444s # max perf: 156.0 MB/s 444s ok 12 /utf8/perf/get_char_validated/han 444s # End of get_char_validated tests 444s # Start of utf8_to_ucs4 tests 444s # max perf: 43.0 MB/s 444s ok 13 /utf8/perf/utf8_to_ucs4/ascii 444s # max perf: 67.0 MB/s 444s ok 14 /utf8/perf/utf8_to_ucs4/latin1 444s # max perf: 160.0 MB/s 444s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 444s # max perf: inf MB/s 444s ok 16 /utf8/perf/utf8_to_ucs4/han 444s # End of utf8_to_ucs4 tests 444s # Start of utf8_to_ucs4-sized tests 444s # max perf: 43.0 MB/s 444s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 444s # max perf: 67.0 MB/s 444s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 444s # max perf: 160.0 MB/s 444s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 444s # max perf: 156.0 MB/s 444s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 444s # End of utf8_to_ucs4-sized tests 444s # Start of utf8_to_ucs4_fast tests 444s # max perf: inf MB/s 444s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 444s # max perf: inf MB/s 444s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 444s # max perf: 160.0 MB/s 444s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 444s # max perf: inf MB/s 444s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 444s # End of utf8_to_ucs4_fast tests 444s # Start of utf8_to_ucs4_fast-sized tests 444s # max perf: 43.0 MB/s 444s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 444s # max perf: inf MB/s 444s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 444s # max perf: 160.0 MB/s 444s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 444s # max perf: inf MB/s 444s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 444s # End of utf8_to_ucs4_fast-sized tests 444s # Start of utf8_validate tests 444s # max perf: inf MB/s 444s ok 29 /utf8/perf/utf8_validate/ascii 444s # max perf: inf MB/s 444s ok 30 /utf8/perf/utf8_validate/latin1 444s # max perf: 160.0 MB/s 444s ok 31 /utf8/perf/utf8_validate/cyrillic 444s # max perf: inf MB/s 444s ok 32 /utf8/perf/utf8_validate/han 444s # End of utf8_validate tests 444s # Start of utf8_validate-sized tests 444s # max perf: inf MB/s 444s ok 33 /utf8/perf/utf8_validate-sized/ascii 444s # max perf: inf MB/s 444s ok 34 /utf8/perf/utf8_validate-sized/latin1 444s # max perf: inf MB/s 444s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 444s # max perf: inf MB/s 444s ok 36 /utf8/perf/utf8_validate-sized/han 444s # End of utf8_validate-sized tests 444s # End of perf tests 444s # End of utf8 tests 444s ok - glib/utf8-performance.test 444s # Running test: glib/string.test 444s TAP version 14 444s # random seed: R02S8dfcdedac6820416c7e06790b89fc0cd 444s 1..23 444s # Start of string tests 444s ok 1 /string/test-string-chunks 444s ok 2 /string/test-string-chunk-insert 444s ok 3 /string/test-string-new 444s ok 4 /string/test-string-printf 444s ok 5 /string/test-string-assign 444s ok 6 /string/test-string-append-c 444s ok 7 /string/test-string-append 444s ok 8 /string/test-string-append-vprintf 444s ok 9 /string/test-string-prepend-c 444s ok 10 /string/test-string-prepend 444s ok 11 /string/test-string-insert 444s ok 12 /string/test-string-insert-unichar 444s ok 13 /string/test-string-equal 444s ok 14 /string/test-string-truncate 444s ok 15 /string/test-string-overwrite 444s ok 16 /string/test-string-nul-handling 444s ok 17 /string/test-string-up-down 444s ok 18 /string/test-string-set-size 444s ok 19 /string/test-string-to-bytes 444s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 444s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 444s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 444s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 444s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 444s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 444s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 444s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 444s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 444s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 444s # 5: Replacing "o" with "" (limit 0) in "food for foals" 444s # -> 4 replacements, "fd fr fals" 444s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 444s # -> 3 replacements, "aaaaaaaaa" 444s # 7: Replacing "a" with "" (limit 0) in "aaa" 444s # -> 3 replacements, "" 444s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 444s # -> 1 replacements, "bba" 444s # 9: Replacing "" with "bar" (limit 0) in "foo" 444s # -> 4 replacements, "barfbarobarobar" 444s # 10: Replacing "" with "x" (limit 0) in "" 444s # -> 1 replacements, "x" 444s # 11: Replacing "" with "" (limit 0) in "" 444s # -> 1 replacements, "" 444s ok 20 /string/test-string-replace 444s ok 21 /string/test-string-steal 444s ok 22 /string/test-string-new-take 444s # Start of test-string-new-take tests 444s ok 23 /string/test-string-new-take/null 444s # End of test-string-new-take tests 444s # End of string tests 444s ok - glib/string.test 444s # Running test: glib/rwlock.test 444s TAP version 14 444s # random seed: R02Se30fd6754395aa74f5fffbb1a33e29aa 444s 1..8 444s # Start of thread tests 444s ok 1 /thread/rwlock1 444s ok 2 /thread/rwlock2 444s ok 3 /thread/rwlock3 444s ok 4 /thread/rwlock4 444s ok 5 /thread/rwlock5 444s ok 6 /thread/rwlock6 447s # Executing: glib/rwlock.test 451s ok 7 /thread/rwlock7 451s # slow test /thread/rwlock7 executed in 6.55 secs 451s ok 8 /thread/rwlock8 451s # End of thread tests 451s ok - glib/rwlock.test 451s # Running test: glib/closure.test 451s TAP version 14 451s # random seed: R02S37755531b936b79ab9fd3b58c03feced 451s 1..6 451s # Start of closure tests 451s ok 1 /closure/idle 451s ok 2 /closure/timeout 451s ok 3 /closure/iochannel 451s ok 4 /closure/child 451s ok 5 /closure/fd 451s ok 6 /closure/signal 451s # End of closure tests 451s ok - glib/closure.test 451s # Running test: glib/defaultvalue.test 451s TAP version 14 451s # random seed: R02Scf6cc9e77669ead14f1cf3c568847993 451s 1..84 451s # Start of Default Values tests 451s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 451s ok 2 /Default Values/GAppLaunchContext 451s ok 3 /Default Values/GApplicationCommandLine 451s # skipping GApplication:is-remote 451s ok 4 /Default Values/GApplication 451s ok 5 /Default Values/GBinding # SKIP mandatory construct params 451s ok 6 /Default Values/GBindingGroup 451s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 451s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 451s ok 9 /Default Values/GBytesIcon 451s ok 10 /Default Values/GCancellable 451s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 451s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 451s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 451s ok 14 /Default Values/GCredentials 451s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 451s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 451s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 451s ok 18 /Default Values/GDBusAuthObserver 451s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 451s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 451s ok 21 /Default Values/GDBusMessage 451s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 451s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 451s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 451s ok 25 /Default Values/GDBusObjectProxy 451s ok 26 /Default Values/GDBusObjectSkeleton 451s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 451s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 451s ok 29 /Default Values/GEmblem 451s ok 30 /Default Values/GEmblemedIcon 451s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 451s ok 32 /Default Values/GFileInfo 451s ok 33 /Default Values/GFileInputStream 451s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 451s ok 35 /Default Values/GFileOutputStream 451s ok 36 /Default Values/GFilenameCompleter 451s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 451s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 451s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 451s ok 40 /Default Values/GInitiallyUnowned 451s ok 41 /Default Values/GIOModule 451s ok 42 /Default Values/GListStore 451s ok 43 /Default Values/GMemoryInputStream 451s ok 44 /Default Values/GMemoryOutputStream 451s ok 45 /Default Values/GMenu 451s ok 46 /Default Values/GMenuItem 451s ok 47 /Default Values/GMountOperation 451s ok 48 /Default Values/GNativeSocketAddress 451s ok 49 /Default Values/GNetworkAddress 451s ok 50 /Default Values/GNetworkService 451s ok 51 /Default Values/GNotification 451s ok 52 /Default Values/GObject 451s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 451s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 451s # skipping GProxyAddressEnumerator:proxy-resolver 451s ok 54 /Default Values/GProxyAddressEnumerator 451s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 451s ok 56 /Default Values/GSettings # SKIP mandatory construct params 451s ok 57 /Default Values/GSignalGroup 451s ok 58 /Default Values/GSimpleAction 451s ok 59 /Default Values/GSimpleActionGroup 451s ok 60 /Default Values/GSimpleAsyncResult 451s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 451s ok 62 /Default Values/GSimplePermission 451s ok 63 /Default Values/GSimpleProxyResolver 451s # skipping GSocketClient:proxy-resolver 451s ok 64 /Default Values/GSocketClient 451s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 451s ok 66 /Default Values/GSocket # SKIP initialization failed 451s ok 67 /Default Values/GSocketListener 451s ok 68 /Default Values/GSocketService 451s ok 69 /Default Values/GSubprocess # SKIP initialization failed 451s ok 70 /Default Values/GSubprocessLauncher 451s # GLib-GIO-DEBUG: GTask 0x58d745819fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 451s ok 71 /Default Values/GTask 451s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 451s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 451s ok 74 /Default Values/GTestDBus 451s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 451s ok 76 /Default Values/GThreadedSocketService 451s ok 77 /Default Values/GTlsInteraction 451s ok 78 /Default Values/GTlsPassword 451s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 451s ok 80 /Default Values/GUnixFDList 451s ok 81 /Default Values/GVfs 451s ok 82 /Default Values/GVolumeMonitor 451s ok 83 /Default Values/GZlibCompressor 451s ok 84 /Default Values/GZlibDecompressor 451s # End of Default Values tests 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s ok - glib/defaultvalue.test 451s # Running test: glib/dir.test 451s TAP version 14 451s # random seed: R02S2162fdf3f109b3e9695f52fb3e2e1ec1 451s 1..3 451s # Start of dir tests 451s ok 1 /dir/read 451s ok 2 /dir/nonexisting 451s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 451s ok 3 /dir/refcounting 451s # End of dir tests 451s ok - glib/dir.test 451s # Running test: glib/debugcontroller.test 451s TAP version 14 451s # random seed: R02S3a8d1e059129e010254aeeb3914e84fb 451s 1..3 451s # Start of debug-controller tests 451s # Start of dbus tests 451s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 451s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 451s # GLib-GIO-DEBUG: Debug output enabled 451s # GLib-GIO-DEBUG: Debug output disabled 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s ok 1 /debug-controller/dbus/basic 451s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 451s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s ok 2 /debug-controller/dbus/duplicate 451s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 451s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 451s # End of dbus tests 451s # End of debug-controller tests 451s ok - glib/debugcontroller.test 451s # Running test: glib/spawn-singlethread.test 451s TAP version 14 451s # random seed: R02S35fc9a9d350aa74051df4d346d8cd184 451s 1..9 451s # Start of gthread tests 451s ok 1 /gthread/spawn-single-sync 451s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 451s ok 2 /gthread/spawn-stderr-socket 451s ok 3 /gthread/spawn-single-async 451s # thread 1 451s # thread 1 451s ok 4 /gthread/spawn-single-async-with-fds 451s ok 5 /gthread/spawn-async-with-invalid-fds 451s ok 6 /gthread/spawn-script 451s ok 7 /gthread/spawn-posix-spawn 451s # Start of spawn tests 451s ok 8 /gthread/spawn/nonexistent 451s # FD map: 451s # • 5 → 15 451s # • 6 → 16 451s # • 7 → 17 451s # • 8 → 18 451s # • 9 → 19 451s # • 10 → 20 451s # • 11 → 21 451s # • 12 → 22 451s # • 13 → 23 451s # • 3 → 13 451s ok 9 /gthread/spawn/fd-assignment-clash 451s # End of spawn tests 451s # End of gthread tests 451s ok - glib/spawn-singlethread.test 451s # Running test: glib/simple-async-result.test 451s TAP version 14 451s # random seed: R02Sbefa81b39aee30469c9bfa76a8ee8564 451s 1..2 451s # Start of gio tests 451s # Start of simple-async-result tests 451s ok 1 /gio/simple-async-result/test 451s # GLib-GIO-DEBUG: GTask 0x581e58fe9720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 451s ok 2 /gio/simple-async-result/valid 451s # End of simple-async-result tests 451s # End of gio tests 451s ok - glib/simple-async-result.test 451s # Running test: glib/portal-support-snap.test 451s TAP version 14 451s # random seed: R02S40c97d61330e6a2058512c886de2c369 451s 1..7 451s # Start of portal-support tests 451s # Start of snap tests 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/no-snapctl: No such file or directory 451s ok 1 /portal-support/snap/no-snapctl 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/none: No such file or directory 451s ok 2 /portal-support/snap/none 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/all: No such file or directory 451s ok 3 /portal-support/snap/all 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/desktop-only: No such file or directory 451s ok 4 /portal-support/snap/desktop-only 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/network-only: No such file or directory 451s ok 5 /portal-support/snap/network-only 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/gsettings-only: No such file or directory 451s ok 6 /portal-support/snap/gsettings-only 451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/home 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/cache 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/system-config2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/config 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/system-data2 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/data 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/state 451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime 451s # Created snap.yaml in /tmp/test_portal-support-snap_TCH3W2/meta/snap.yaml 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s # Created snapctl in /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2/portal-support/snap/updates-dynamically: No such file or directory 451s ok 7 /portal-support/snap/updates-dynamically 451s # End of snap tests 451s # End of portal-support tests 451s Unable to clean up temporary directory /tmp/test_portal-support-snap_TCH3W2: No such file or directory 451s ok - glib/portal-support-snap.test 451s # Running test: glib/utf8-validate.test 451s TAP version 14 451s # random seed: R02S930bc4ffecb28741b517470ec900cbcd 451s 1..216 451s # Start of utf8 tests 451s # Vector 0 451s # Vector 1 451s # Vector 2 451s # Vector 3 451s # Vector 4 451s # Vector 5 451s # Vector 6 451s # Vector 7 451s # Vector 8 451s # Vector 9 451s # Vector 10 451s # Vector 11 451s # Vector 12 451s # Vector 13 451s # Vector 14 451s # Vector 15 451s # Vector 16 451s # Vector 17 451s # Vector 18 451s # Vector 19 451s # Vector 20 451s # Vector 21 451s # Vector 22 451s # Vector 23 451s # Vector 24 451s # Vector 25 451s # Vector 26 451s # Vector 27 451s ok 1 /utf8/get-char-validated 451s # Start of validate tests 451s ok 2 /utf8/validate/0 451s ok 3 /utf8/validate/1 451s ok 4 /utf8/validate/2 451s ok 5 /utf8/validate/3 451s ok 6 /utf8/validate/4 451s ok 7 /utf8/validate/5 451s ok 8 /utf8/validate/6 451s ok 9 /utf8/validate/7 451s ok 10 /utf8/validate/8 451s ok 11 /utf8/validate/9 451s ok 12 /utf8/validate/10 451s ok 13 /utf8/validate/11 451s ok 14 /utf8/validate/12 451s ok 15 /utf8/validate/13 451s ok 16 /utf8/validate/14 451s ok 17 /utf8/validate/15 451s ok 18 /utf8/validate/16 451s ok 19 /utf8/validate/17 451s ok 20 /utf8/validate/18 451s ok 21 /utf8/validate/19 451s ok 22 /utf8/validate/20 451s ok 23 /utf8/validate/21 451s ok 24 /utf8/validate/22 451s ok 25 /utf8/validate/23 451s ok 26 /utf8/validate/24 451s ok 27 /utf8/validate/25 451s ok 28 /utf8/validate/26 451s ok 29 /utf8/validate/27 451s ok 30 /utf8/validate/28 451s ok 31 /utf8/validate/29 451s ok 32 /utf8/validate/30 451s ok 33 /utf8/validate/31 451s ok 34 /utf8/validate/32 451s ok 35 /utf8/validate/33 451s ok 36 /utf8/validate/34 451s ok 37 /utf8/validate/35 451s ok 38 /utf8/validate/36 451s ok 39 /utf8/validate/37 451s ok 40 /utf8/validate/38 451s ok 41 /utf8/validate/39 451s ok 42 /utf8/validate/40 451s ok 43 /utf8/validate/41 451s ok 44 /utf8/validate/42 451s ok 45 /utf8/validate/43 451s ok 46 /utf8/validate/44 451s ok 47 /utf8/validate/45 451s ok 48 /utf8/validate/46 451s ok 49 /utf8/validate/47 451s ok 50 /utf8/validate/48 451s ok 51 /utf8/validate/49 451s ok 52 /utf8/validate/50 451s ok 53 /utf8/validate/51 451s ok 54 /utf8/validate/52 451s ok 55 /utf8/validate/53 451s ok 56 /utf8/validate/54 451s ok 57 /utf8/validate/55 451s ok 58 /utf8/validate/56 451s ok 59 /utf8/validate/57 451s ok 60 /utf8/validate/58 451s ok 61 /utf8/validate/59 451s ok 62 /utf8/validate/60 451s ok 63 /utf8/validate/61 451s ok 64 /utf8/validate/62 451s ok 65 /utf8/validate/63 451s ok 66 /utf8/validate/64 451s ok 67 /utf8/validate/65 451s ok 68 /utf8/validate/66 451s ok 69 /utf8/validate/67 451s ok 70 /utf8/validate/68 451s ok 71 /utf8/validate/69 451s ok 72 /utf8/validate/70 451s ok 73 /utf8/validate/71 451s ok 74 /utf8/validate/72 451s ok 75 /utf8/validate/73 451s ok 76 /utf8/validate/74 451s ok 77 /utf8/validate/75 451s ok 78 /utf8/validate/76 451s ok 79 /utf8/validate/77 451s ok 80 /utf8/validate/78 451s ok 81 /utf8/validate/79 451s ok 82 /utf8/validate/80 451s ok 83 /utf8/validate/81 451s ok 84 /utf8/validate/82 451s ok 85 /utf8/validate/83 451s ok 86 /utf8/validate/84 451s ok 87 /utf8/validate/85 451s ok 88 /utf8/validate/86 451s ok 89 /utf8/validate/87 451s ok 90 /utf8/validate/88 451s ok 91 /utf8/validate/89 451s ok 92 /utf8/validate/90 451s ok 93 /utf8/validate/91 451s ok 94 /utf8/validate/92 451s ok 95 /utf8/validate/93 451s ok 96 /utf8/validate/94 451s ok 97 /utf8/validate/95 451s ok 98 /utf8/validate/96 451s ok 99 /utf8/validate/97 451s ok 100 /utf8/validate/98 451s ok 101 /utf8/validate/99 451s ok 102 /utf8/validate/100 451s ok 103 /utf8/validate/101 451s ok 104 /utf8/validate/102 451s ok 105 /utf8/validate/103 451s ok 106 /utf8/validate/104 451s ok 107 /utf8/validate/105 451s ok 108 /utf8/validate/106 451s ok 109 /utf8/validate/107 451s ok 110 /utf8/validate/108 451s ok 111 /utf8/validate/109 451s ok 112 /utf8/validate/110 451s ok 113 /utf8/validate/111 451s ok 114 /utf8/validate/112 451s ok 115 /utf8/validate/113 451s ok 116 /utf8/validate/114 451s ok 117 /utf8/validate/115 451s ok 118 /utf8/validate/116 451s ok 119 /utf8/validate/117 451s ok 120 /utf8/validate/118 451s ok 121 /utf8/validate/119 451s ok 122 /utf8/validate/120 451s ok 123 /utf8/validate/121 451s ok 124 /utf8/validate/122 451s ok 125 /utf8/validate/123 451s ok 126 /utf8/validate/124 451s ok 127 /utf8/validate/125 451s ok 128 /utf8/validate/126 451s ok 129 /utf8/validate/127 451s ok 130 /utf8/validate/128 451s ok 131 /utf8/validate/129 451s ok 132 /utf8/validate/130 451s ok 133 /utf8/validate/131 451s ok 134 /utf8/validate/132 451s ok 135 /utf8/validate/133 451s ok 136 /utf8/validate/134 451s ok 137 /utf8/validate/135 451s ok 138 /utf8/validate/136 451s ok 139 /utf8/validate/137 451s ok 140 /utf8/validate/138 451s ok 141 /utf8/validate/139 451s ok 142 /utf8/validate/140 451s ok 143 /utf8/validate/141 451s ok 144 /utf8/validate/142 451s ok 145 /utf8/validate/143 451s ok 146 /utf8/validate/144 451s ok 147 /utf8/validate/145 451s ok 148 /utf8/validate/146 451s ok 149 /utf8/validate/147 451s ok 150 /utf8/validate/148 451s ok 151 /utf8/validate/149 451s ok 152 /utf8/validate/150 451s ok 153 /utf8/validate/151 451s ok 154 /utf8/validate/152 451s ok 155 /utf8/validate/153 451s ok 156 /utf8/validate/154 451s ok 157 /utf8/validate/155 451s ok 158 /utf8/validate/156 451s ok 159 /utf8/validate/157 451s ok 160 /utf8/validate/158 451s ok 161 /utf8/validate/159 451s ok 162 /utf8/validate/160 451s ok 163 /utf8/validate/161 451s ok 164 /utf8/validate/162 451s ok 165 /utf8/validate/163 451s ok 166 /utf8/validate/164 451s ok 167 /utf8/validate/165 451s ok 168 /utf8/validate/166 451s ok 169 /utf8/validate/167 451s ok 170 /utf8/validate/168 451s ok 171 /utf8/validate/169 451s ok 172 /utf8/validate/170 451s ok 173 /utf8/validate/171 451s ok 174 /utf8/validate/172 451s ok 175 /utf8/validate/173 451s ok 176 /utf8/validate/174 451s ok 177 /utf8/validate/175 451s ok 178 /utf8/validate/176 451s ok 179 /utf8/validate/177 451s ok 180 /utf8/validate/178 451s ok 181 /utf8/validate/179 451s ok 182 /utf8/validate/180 451s ok 183 /utf8/validate/181 451s ok 184 /utf8/validate/182 451s ok 185 /utf8/validate/183 451s ok 186 /utf8/validate/184 451s ok 187 /utf8/validate/185 451s ok 188 /utf8/validate/186 451s ok 189 /utf8/validate/187 451s ok 190 /utf8/validate/188 451s ok 191 /utf8/validate/189 451s ok 192 /utf8/validate/190 451s ok 193 /utf8/validate/191 451s ok 194 /utf8/validate/192 451s ok 195 /utf8/validate/193 451s ok 196 /utf8/validate/194 451s ok 197 /utf8/validate/195 451s ok 198 /utf8/validate/196 451s ok 199 /utf8/validate/197 451s ok 200 /utf8/validate/198 451s ok 201 /utf8/validate/199 451s ok 202 /utf8/validate/200 451s ok 203 /utf8/validate/201 451s ok 204 /utf8/validate/202 451s ok 205 /utf8/validate/203 451s ok 206 /utf8/validate/204 451s ok 207 /utf8/validate/205 451s ok 208 /utf8/validate/206 451s ok 209 /utf8/validate/207 451s ok 210 /utf8/validate/208 451s ok 211 /utf8/validate/209 451s ok 212 /utf8/validate/210 451s ok 213 /utf8/validate/211 451s ok 214 /utf8/validate/212 451s ok 215 /utf8/validate/213 451s ok 216 /utf8/validate/214 451s # End of validate tests 451s # End of utf8 tests 451s ok - glib/utf8-validate.test 451s # Running test: glib/onceinit.test 451s TAP version 14 451s # random seed: R02S0ec23d3e96c1721cb06cb0272ac42f71 451s 1..1 451s # Start of thread tests 451s ok 1 /thread/onceinit 451s # End of thread tests 451s ok - glib/onceinit.test 451s # Running test: glib/cache.test 451s TAP version 14 451s # random seed: R02S280134f46eacba550b33c3a8b77397f7 451s 1..1 451s # Start of cache tests 451s ok 1 /cache/basic 451s # End of cache tests 451s ok - glib/cache.test 451s # Running test: glib/macros-c-11.test 451s TAP version 14 451s # random seed: R02Sccad6985f5abd58da22e0b09bbf5bece 451s 1..4 451s # Start of C tests 451s ok 1 /C/standard-11 451s # End of C tests 451s # Start of alignof tests 451s ok 2 /alignof/fallback 451s # End of alignof tests 451s # Start of assert tests 451s ok 3 /assert/static 451s # End of assert tests 451s # Start of struct tests 451s ok 4 /struct/sizeof_member 451s # End of struct tests 451s ok - glib/macros-c-11.test 451s # Running test: glib/pattern.test 451s TAP version 14 451s # random seed: R02S6529266f2e6b78ddddb18befe2ea6ab9 451s 1..90 451s # Start of pattern tests 451s # Start of compile tests 451s ok 1 /pattern/compile/0 451s ok 2 /pattern/compile/1 451s ok 3 /pattern/compile/2 451s ok 4 /pattern/compile/3 451s ok 5 /pattern/compile/4 451s ok 6 /pattern/compile/5 451s ok 7 /pattern/compile/6 451s ok 8 /pattern/compile/7 451s ok 9 /pattern/compile/8 451s ok 10 /pattern/compile/9 451s ok 11 /pattern/compile/10 451s ok 12 /pattern/compile/11 451s ok 13 /pattern/compile/12 451s ok 14 /pattern/compile/13 451s # End of compile tests 451s # Start of copy tests 451s ok 15 /pattern/copy/0 451s ok 16 /pattern/copy/1 451s ok 17 /pattern/copy/2 451s ok 18 /pattern/copy/3 451s ok 19 /pattern/copy/4 451s ok 20 /pattern/copy/5 451s ok 21 /pattern/copy/6 451s ok 22 /pattern/copy/7 451s ok 23 /pattern/copy/8 451s ok 24 /pattern/copy/9 451s ok 25 /pattern/copy/10 451s ok 26 /pattern/copy/11 451s ok 27 /pattern/copy/12 451s ok 28 /pattern/copy/13 451s # End of copy tests 451s # Start of match tests 451s ok 29 /pattern/match/0 451s ok 30 /pattern/match/1 451s ok 31 /pattern/match/2 451s ok 32 /pattern/match/3 451s ok 33 /pattern/match/4 451s ok 34 /pattern/match/5 451s ok 35 /pattern/match/6 451s ok 36 /pattern/match/7 451s ok 37 /pattern/match/8 451s ok 38 /pattern/match/9 451s ok 39 /pattern/match/10 451s ok 40 /pattern/match/11 451s ok 41 /pattern/match/12 451s ok 42 /pattern/match/13 451s ok 43 /pattern/match/14 451s ok 44 /pattern/match/15 451s ok 45 /pattern/match/16 451s ok 46 /pattern/match/17 451s ok 47 /pattern/match/18 451s ok 48 /pattern/match/19 451s ok 49 /pattern/match/20 451s ok 50 /pattern/match/21 451s ok 51 /pattern/match/22 451s ok 52 /pattern/match/23 451s ok 53 /pattern/match/24 451s ok 54 /pattern/match/25 451s ok 55 /pattern/match/26 451s ok 56 /pattern/match/27 451s ok 57 /pattern/match/28 451s ok 58 /pattern/match/29 451s ok 59 /pattern/match/30 451s ok 60 /pattern/match/31 451s ok 61 /pattern/match/32 451s ok 62 /pattern/match/33 451s ok 63 /pattern/match/34 451s ok 64 /pattern/match/35 451s ok 65 /pattern/match/36 451s ok 66 /pattern/match/37 451s ok 67 /pattern/match/38 451s ok 68 /pattern/match/39 451s ok 69 /pattern/match/40 451s ok 70 /pattern/match/41 451s ok 71 /pattern/match/42 451s ok 72 /pattern/match/43 451s ok 73 /pattern/match/44 451s ok 74 /pattern/match/45 451s ok 75 /pattern/match/46 451s ok 76 /pattern/match/47 451s ok 77 /pattern/match/48 451s ok 78 /pattern/match/49 451s ok 79 /pattern/match/50 451s # End of match tests 451s # Start of equal tests 451s ok 80 /pattern/equal/0 451s ok 81 /pattern/equal/1 451s ok 82 /pattern/equal/2 451s ok 83 /pattern/equal/3 451s ok 84 /pattern/equal/4 451s ok 85 /pattern/equal/5 451s ok 86 /pattern/equal/6 451s ok 87 /pattern/equal/7 451s ok 88 /pattern/equal/8 451s ok 89 /pattern/equal/9 451s ok 90 /pattern/equal/10 451s # End of equal tests 451s # End of pattern tests 451s ok - glib/pattern.test 451s # Running test: glib/references.test 451s TAP version 14 451s # random seed: R02S3cbe4bc63de546d515feedc753969385 451s 1..1 451s # Start of gobject tests 451s ok 1 /gobject/references 451s # End of gobject tests 451s ok - glib/references.test 451s # Running test: glib/actions.test 451s TAP version 14 451s # random seed: R02S9bbff0900a30732e45b7b00ab5f66ed5 451s 1..13 451s # Start of actions tests 451s ok 1 /actions/basic 451s ok 2 /actions/name 451s ok 3 /actions/simplegroup 451s ok 4 /actions/stateful 451s ok 5 /actions/default-activate 451s ok 6 /actions/entries 451s ok 7 /actions/parse-detailed 451s ok 8 /actions/property 451s ok 9 /actions/no-properties 451s # Start of dbus tests 451s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s ok 10 /actions/dbus/export 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 451s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 451s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 452s # Executing: glib/actions.test 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s ok 11 /actions/dbus/threaded 452s # slow test /actions/dbus/threaded executed in 1.01 secs 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 452s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s ok 12 /actions/dbus/bug679509 452s # Start of export tests 452s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 452s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s ok 13 /actions/dbus/export/error-handling 452s # End of export tests 452s # End of dbus tests 452s # End of actions tests 452s ok - glib/actions.test 452s # Running test: glib/keyfile.test 452s TAP version 14 452s # random seed: R02Sd7af54cf38746a4896a0f09230cf26b0 452s 1..36 452s # Start of keyfile tests 452s ok 1 /keyfile/line-ends 452s ok 2 /keyfile/whitespace 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 452s ok 3 /keyfile/comments 452s ok 4 /keyfile/listing 452s ok 5 /keyfile/string 452s ok 6 /keyfile/boolean 452s ok 7 /keyfile/number 452s ok 8 /keyfile/locale-string 452s ok 9 /keyfile/lists 452s ok 10 /keyfile/lists-set-get 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 452s ok 11 /keyfile/group-remove 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 452s ok 12 /keyfile/key-remove 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 452s ok 13 /keyfile/groups 452s ok 14 /keyfile/duplicate-keys 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 452s ok 15 /keyfile/duplicate-groups 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 452s ok 16 /keyfile/duplicate-groups2 452s ok 17 /keyfile/group-names 452s ok 18 /keyfile/key-names 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 452s ok 19 /keyfile/reload 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 452s ok 20 /keyfile/int64 452s ok 21 /keyfile/load 452s ok 22 /keyfile/save 452s ok 23 /keyfile/load-fail 452s ok 24 /keyfile/non-utf8 452s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 452s ok 25 /keyfile/page-boundary 452s ok 26 /keyfile/ref 452s ok 27 /keyfile/replace-value 452s ok 28 /keyfile/list-separator 452s ok 29 /keyfile/empty-string 452s ok 30 /keyfile/limbo 452s # Testing invalid encoding ?non-UTF-8? 452s # Testing invalid encoding ?UTF? 452s # Testing invalid encoding ?UTF-9? 452s ok 31 /keyfile/utf8 452s ok 32 /keyfile/roundtrip 452s ok 33 /keyfile/bytes 452s ok 34 /keyfile/get-locale 452s ok 35 /keyfile/free-when-not-last-ref 452s # Start of locale-string tests 452s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 452s ok 36 /keyfile/locale-string/multiple-loads 452s # End of locale-string tests 452s # End of keyfile tests 452s ok - glib/keyfile.test 452s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 452s TAP version 14 452s # random seed: R02S525e1e2027e1076b8428c4c68f3da90d 452s 1..8 452s # Start of gdbus tests 452s # Start of codegen tests 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/annotations/.dirs/runtime 452s ok 1 /gdbus/codegen/annotations 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/interface_stability/.dirs/runtime 452s ok 2 /gdbus/codegen/interface_stability 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/object-manager/.dirs/runtime 452s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 452s ok 3 /gdbus/codegen/object-manager 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/property-naming/.dirs/runtime 452s ok 4 /gdbus/codegen/property-naming 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/autocleanups/.dirs/runtime 452s ok 5 /gdbus/codegen/autocleanups 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/deprecations/.dirs/runtime 452s ok 6 /gdbus/codegen/deprecations 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 452s ok 7 /gdbus/codegen/standalone-interface-info 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B7WLX2/gdbus/codegen/unix-fd-list/.dirs/runtime 452s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 452s ok 8 /gdbus/codegen/unix-fd-list 452s # End of codegen tests 452s # End of gdbus tests 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 452s ok - glib/gdbus-test-codegen-min-required-2-64.test 452s # Running test: glib/gdbus-address-get-session.test 452s TAP version 14 452s # random seed: R02Se4ae553f4b9fb8e4d2d823ae35c7734d 452s 1..2 452s # Start of gdbus tests 452s ok 1 /gdbus/x11-autolaunch 452s ok 2 /gdbus/xdg-runtime 452s # End of gdbus tests 452s ok - glib/gdbus-address-get-session.test 452s # Running test: glib/memory-input-stream.test 452s TAP version 14 452s # random seed: R02S1f95510f36e40dc9d97a1512af28d463 452s 1..6 452s # Start of memory-input-stream tests 452s ok 1 /memory-input-stream/read-chunks 452s ok 2 /memory-input-stream/async 452s ok 3 /memory-input-stream/seek 452s ok 4 /memory-input-stream/truncate 452s ok 5 /memory-input-stream/read-bytes 452s ok 6 /memory-input-stream/from-bytes 452s # End of memory-input-stream tests 452s ok - glib/memory-input-stream.test 452s # Running test: glib/throws.test 452s TAP version 14 452s # random seed: R02S7026b0708749ed526967fceab4764f23 452s 1..3 452s # Start of throws tests 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_EWACX2/throws/invoke-gerror/.dirs/runtime 452s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 452s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 452s ok 1 /throws/invoke-gerror 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_EWACX2/throws/vfunc-can-throw-gerror/.dirs/runtime 452s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 452s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 452s ok 2 /throws/vfunc-can-throw-gerror 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_EWACX2/throws/callback-can-throw-gerror/.dirs/runtime 452s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 452s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 452s ok 3 /throws/callback-can-throw-gerror 452s # End of throws tests 452s ok - glib/throws.test 452s # Running test: glib/gsubprocess.test 452s TAP version 14 452s # random seed: R02S47e9cd20cecd319a2a5f607e26a7cb2e 452s 1..83 452s # Start of gsubprocess tests 452s ok 1 /gsubprocess/noop 452s ok 2 /gsubprocess/noop-all-to-null 452s ok 3 /gsubprocess/noop-no-wait 452s ok 4 /gsubprocess/noop-stdin-inherit 452s ok 5 /gsubprocess/search-path 452s ok 6 /gsubprocess/search-path-from-envp 456s ok 7 /gsubprocess/signal 456s # slow test /gsubprocess/signal executed in 3.57 secs 456s ok 8 /gsubprocess/exit1 456s ok 9 /gsubprocess/echo1 456s ok 10 /gsubprocess/echo-merged 456s ok 11 /gsubprocess/cat-utf8 457s # Executing: glib/gsubprocess.test 457s ok 12 /gsubprocess/cat-eof 457s # slow test /gsubprocess/cat-eof executed in 1.00 secs 460s ok 13 /gsubprocess/multi1 460s # slow test /gsubprocess/multi1 executed in 3.01 secs 460s ok 14 /gsubprocess/communicate 462s # Executing: glib/gsubprocess.test 463s ok 15 /gsubprocess/terminate 463s # slow test /gsubprocess/terminate executed in 2.97 secs 463s ok 16 /gsubprocess/env 463s ok 17 /gsubprocess/cwd 463s ok 18 /gsubprocess/launcher-close 463s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 463s ok 19 /gsubprocess/stdout-file 463s ok 20 /gsubprocess/stdout-fd 463s ok 21 /gsubprocess/child-setup 463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 463s ok 22 /gsubprocess/launcher-environment 463s # Start of exit1 tests 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 463s ok 23 /gsubprocess/exit1/cancel 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 463s ok 24 /gsubprocess/exit1/cancel_in_cb 463s # End of exit1 tests 463s # Start of communicate tests 463s ok 25 /gsubprocess/communicate/cancelled 463s ok 26 /gsubprocess/communicate/async 463s ok 27 /gsubprocess/communicate/utf8 463s # hello world 463s ok 28 /gsubprocess/communicate/no-pipes 463s ok 29 /gsubprocess/communicate/separate-stderr 463s ok 30 /gsubprocess/communicate/stdout-only 463s # hello world 463s ok 31 /gsubprocess/communicate/stderr-only 463s ok 32 /gsubprocess/communicate/stdout-silence 463s ok 33 /gsubprocess/communicate/nothing 463s # Start of async tests 463s ok 34 /gsubprocess/communicate/async/cancelled 463s # hello world 463s ok 35 /gsubprocess/communicate/async/no-pipes 463s ok 36 /gsubprocess/communicate/async/separate-stderr 463s ok 37 /gsubprocess/communicate/async/stdout-only 463s # hello world 463s ok 38 /gsubprocess/communicate/async/stderr-only 463s ok 39 /gsubprocess/communicate/async/stdout-silence 463s # Start of cancelled tests 463s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 463s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 463s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 463s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 463s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 463s # End of cancelled tests 463s # End of async tests 463s # Start of utf8 tests 463s ok 45 /gsubprocess/communicate/utf8/cancelled 463s ok 46 /gsubprocess/communicate/utf8/async 463s # hello world 463s ok 47 /gsubprocess/communicate/utf8/no-pipes 463s ok 48 /gsubprocess/communicate/utf8/separate-stderr 463s ok 49 /gsubprocess/communicate/utf8/stdout-only 463s # hello world 463s ok 50 /gsubprocess/communicate/utf8/stderr-only 463s ok 51 /gsubprocess/communicate/utf8/stdout-silence 463s ok 52 /gsubprocess/communicate/utf8/invalid 463s # Start of async tests 463s ok 53 /gsubprocess/communicate/utf8/async/cancelled 463s # hello world 463s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 463s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 463s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 463s # hello world 463s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 463s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 463s ok 59 /gsubprocess/communicate/utf8/async/invalid 463s # Start of cancelled tests 463s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 463s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 463s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 463s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 463s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 463s # End of cancelled tests 463s # End of async tests 463s # Start of cancelled tests 463s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 463s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 463s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 463s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 463s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 463s # End of cancelled tests 463s # End of utf8 tests 463s # Start of cancelled tests 463s ok 70 /gsubprocess/communicate/cancelled/no-pipes 463s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 463s ok 72 /gsubprocess/communicate/cancelled/stdout-only 463s ok 73 /gsubprocess/communicate/cancelled/stderr-only 463s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 463s # End of cancelled tests 463s # End of communicate tests 463s # Start of env tests 463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 463s ok 75 /gsubprocess/env/inherit 463s # End of env tests 463s # Start of pass-fd tests 463s ok 76 /gsubprocess/pass-fd/basic 463s ok 77 /gsubprocess/pass-fd/empty-child-setup 463s ok 78 /gsubprocess/pass-fd/inherit-fds 463s # End of pass-fd tests 463s # Start of fd-conflation tests 463s ok 79 /gsubprocess/fd-conflation/basic 463s ok 80 /gsubprocess/fd-conflation/empty-child-setup 463s ok 81 /gsubprocess/fd-conflation/inherit-fds 463s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 463s # End of fd-conflation tests 463s # Start of exit-status tests 463s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 463s ok 83 /gsubprocess/exit-status/trapped 463s # End of exit-status tests 463s # End of gsubprocess tests 463s ok - glib/gsubprocess.test 463s # Running test: glib/genmarshal.py.test 463s TAP version 13 463s ok 1 __main__.TestGenmarshal.test_empty_list 463s # tmpdir: /tmp/tmpgybuwr9p 463s # genmarshal: /usr/bin/glib-genmarshal 463s # /tmp/tmpgybuwr9p/tmp0n8ml17s.list: 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgybuwr9p/tmp0n8ml17s.list', '--header', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # 463s # #include 463s # 463s # G_BEGIN_DECLS 463s # 463s # 463s # G_END_DECLS 463s # 463s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgybuwr9p/tmp0n8ml17s.list', '--body', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #include 463s # 463s # #ifdef G_ENABLE_DEBUG 463s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 463s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 463s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 463s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 463s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 463s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 463s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 463s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 463s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 463s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 463s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 463s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 463s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 463s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 463s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 463s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 463s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 463s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 463s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 463s # #else /* !G_ENABLE_DEBUG */ 463s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 463s # * Do not access GValues directly in your code. Instead, use the 463s # * g_value_get_*() functions 463s # */ 463s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 463s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 463s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 463s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 463s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 463s # #endif /* !G_ENABLE_DEBUG */ 463s ok 2 __main__.TestGenmarshal.test_help 463s # tmpdir: /tmp/tmpwxhe64a9 463s # genmarshal: /usr/bin/glib-genmarshal 463s # Running: ['/usr/bin/glib-genmarshal', '--help'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 463s # [--internal] [--valist-marshallers] [-v] 463s # [--g-fatal-warnings] [--include-header [HEADER]] 463s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 463s # [--prototypes] [--header] [--body] 463s # [--stdinc | --nostdinc] [--quiet | --verbose] 463s # [FILE ...] 463s # 463s # Generate signal marshallers for GObject 463s # 463s # positional arguments: 463s # FILE Files with lists of marshallers to generate, or "-" 463s # for standard input 463s # 463s # options: 463s # -h, --help show this help message and exit 463s # --prefix STRING Specify marshaller prefix 463s # --output FILE Write output into the specified file 463s # --skip-source Skip source location comments 463s # --internal Mark generated functions as internal 463s # --valist-marshallers Generate va_list marshallers 463s # -v, --version Print version information, and exit 463s # --g-fatal-warnings Make warnings fatal 463s # --include-header [HEADER] 463s # Include the specified header in the body 463s # --pragma-once Use "pragma once" as the inclusion guard 463s # -D CPP_DEFINES Pre-processor define 463s # -U CPP_UNDEFINES Pre-processor undefine 463s # --prototypes Generate the marshallers prototype in the C code 463s # --header Generate C headers 463s # --body Generate C code 463s # --stdinc Include standard marshallers 463s # --nostdinc Use standard marshallers 463s # --quiet Only print warnings and errors 463s # --verbose Be verbose, and include debugging information 463s ok 3 __main__.TestGenmarshal.test_no_args 463s # tmpdir: /tmp/tmpahg2pj3x 463s # genmarshal: /usr/bin/glib-genmarshal 463s # Running: ['/usr/bin/glib-genmarshal'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # Output: 463s ok 4 __main__.TestGenmarshal.test_void_boolean 463s # tmpdir: /tmp/tmpjqs0cs81 463s # genmarshal: /usr/bin/glib-genmarshal 463s # /tmp/tmpjqs0cs81/tmpg_aaj4p1.list: VOID:BOOLEAN 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjqs0cs81/tmpg_aaj4p1.list', '--header', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # 463s # #include 463s # 463s # G_BEGIN_DECLS 463s # 463s # /* VOID:BOOLEAN (/tmp/tmpjqs0cs81/tmpg_aaj4p1.list:1) */ 463s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 463s # 463s # 463s # G_END_DECLS 463s # 463s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjqs0cs81/tmpg_aaj4p1.list', '--body', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #include 463s # 463s # #ifdef G_ENABLE_DEBUG 463s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 463s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 463s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 463s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 463s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 463s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 463s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 463s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 463s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 463s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 463s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 463s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 463s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 463s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 463s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 463s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 463s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 463s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 463s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 463s # #else /* !G_ENABLE_DEBUG */ 463s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 463s # * Do not access GValues directly in your code. Instead, use the 463s # * g_value_get_*() functions 463s # */ 463s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 463s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 463s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 463s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 463s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 463s # #endif /* !G_ENABLE_DEBUG */ 463s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 463s # tmpdir: /tmp/tmpdtzmpt1f 463s # genmarshal: /usr/bin/glib-genmarshal 463s # /tmp/tmpdtzmpt1f/tmpam2rnrxr.list: VOID:BOOLEAN,INT64 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdtzmpt1f/tmpam2rnrxr.list', '--header', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 463s # 463s # #include 463s # 463s # G_BEGIN_DECLS 463s # 463s # /* VOID:BOOLEAN,INT64 (/tmp/tmpdtzmpt1f/tmpam2rnrxr.list:1) */ 463s # extern 463s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 463s # GValue *return_value, 463s # guint n_param_values, 463s # const GValue *param_values, 463s # gpointer invocation_hint, 463s # gpointer marshal_data); 463s # 463s # 463s # G_END_DECLS 463s # 463s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 463s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdtzmpt1f/tmpam2rnrxr.list', '--body', '--quiet'] 463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 463s # 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. */ 463s # #include 463s # 463s # #ifdef G_ENABLE_DEBUG 463s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 463s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 463s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 463s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 463s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 463s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 463s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 463s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 463s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 463s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 463s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 463s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 463s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 463s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 463s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 463s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 463s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 463s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 463s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 463s # #else /* !G_ENABLE_DEBUG */ 463s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 463s # * Do not access GValues directly in your code. Instead, use the 463s # * g_value_get_*() functions 463s # */ 463s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 463s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 463s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 463s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 463s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 463s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 463s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 463s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 463s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 463s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 463s # #endif /* !G_ENABLE_DEBUG */ 463s # 463s # /* VOID:BOOLEAN,INT64 (/tmp/tmpdtzmpt1f/tmpam2rnrxr.list:1) */ 463s # void 463s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 463s # GValue *return_value G_GNUC_UNUSED, 463s # guint n_param_values, 463s # const GValue *param_values, 463s # gpointer invocation_hint G_GNUC_UNUSED, 463s # gpointer marshal_data) 463s # { 463s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 463s # gboolean arg1, 463s # gint64 arg2, 463s # gpointer data2); 463s # GCClosure *cc = (GCClosure *) closure; 463s # gpointer data1, data2; 463s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 463s # 463s # g_return_if_fail (n_param_values == 3); 463s # 463s # if (G_CCLOSURE_SWAP_DATA (closure)) 463s # { 463s # data1 = closure->data; 463s # data2 = g_value_peek_pointer (param_values + 0); 463s # } 463s # else 463s # { 463s # data1 = g_value_peek_pointer (param_values + 0); 463s # data2 = closure->data; 463s # } 463s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 463s # 463s # callback (data1, 463s # g_marshal_value_peek_boolean (param_values + 1), 463s # g_marshal_value_peek_int64 (param_values + 2), 463s # data2); 463s # } 464s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 464s # tmpdir: /tmp/tmpzm97dzky 464s # genmarshal: /usr/bin/glib-genmarshal 464s # /tmp/tmpzm97dzky/tmpalixjo6l.list: VOID:PARAM 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzm97dzky/tmpalixjo6l.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # 464s # G_BEGIN_DECLS 464s # 464s # /* VOID:PARAM (/tmp/tmpzm97dzky/tmpalixjo6l.list:1) */ 464s # extern 464s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 464s # GValue *return_value, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint, 464s # gpointer marshal_data); 464s # extern 464s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 464s # GValue *return_value, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types); 464s # 464s # 464s # G_END_DECLS 464s # 464s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzm97dzky/tmpalixjo6l.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifdef G_ENABLE_DEBUG 464s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 464s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 464s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 464s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 464s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 464s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 464s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 464s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 464s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 464s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 464s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 464s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 464s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 464s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 464s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 464s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 464s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 464s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 464s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 464s # #else /* !G_ENABLE_DEBUG */ 464s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 464s # * Do not access GValues directly in your code. Instead, use the 464s # * g_value_get_*() functions 464s # */ 464s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 464s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 464s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 464s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 464s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 464s # #endif /* !G_ENABLE_DEBUG */ 464s # 464s # /* VOID:PARAM (/tmp/tmpzm97dzky/tmpalixjo6l.list:1) */ 464s # void 464s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint G_GNUC_UNUSED, 464s # gpointer marshal_data) 464s # { 464s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__PARAM callback; 464s # 464s # g_return_if_fail (n_param_values == 2); 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = g_value_peek_pointer (param_values + 0); 464s # } 464s # else 464s # { 464s # data1 = g_value_peek_pointer (param_values + 0); 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # g_marshal_value_peek_param (param_values + 1), 464s # data2); 464s # } 464s # 464s # void 464s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types) 464s # { 464s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__PARAM callback; 464s # gpointer arg0; 464s # va_list args_copy; 464s # 464s # va_copy (args_copy, args); 464s # arg0 = (gpointer) va_arg (args_copy, gpointer); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # arg0 = g_param_spec_ref (arg0); 464s # va_end (args_copy); 464s # 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = instance; 464s # } 464s # else 464s # { 464s # data1 = instance; 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # arg0, 464s # data2); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # g_param_spec_unref (arg0); 464s # } 464s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 464s # tmpdir: /tmp/tmptj6nns7n 464s # genmarshal: /usr/bin/glib-genmarshal 464s # /tmp/tmptj6nns7n/tmpc3xwmxwy.list: VOID:STRING 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptj6nns7n/tmpc3xwmxwy.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # 464s # G_BEGIN_DECLS 464s # 464s # /* VOID:STRING (/tmp/tmptj6nns7n/tmpc3xwmxwy.list:1) */ 464s # extern 464s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 464s # GValue *return_value, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint, 464s # gpointer marshal_data); 464s # extern 464s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 464s # GValue *return_value, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types); 464s # 464s # 464s # G_END_DECLS 464s # 464s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptj6nns7n/tmpc3xwmxwy.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifdef G_ENABLE_DEBUG 464s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 464s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 464s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 464s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 464s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 464s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 464s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 464s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 464s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 464s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 464s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 464s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 464s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 464s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 464s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 464s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 464s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 464s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 464s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 464s # #else /* !G_ENABLE_DEBUG */ 464s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 464s # * Do not access GValues directly in your code. Instead, use the 464s # * g_value_get_*() functions 464s # */ 464s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 464s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 464s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 464s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 464s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 464s # #endif /* !G_ENABLE_DEBUG */ 464s # 464s # /* VOID:STRING (/tmp/tmptj6nns7n/tmpc3xwmxwy.list:1) */ 464s # void 464s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint G_GNUC_UNUSED, 464s # gpointer marshal_data) 464s # { 464s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__STRING callback; 464s # 464s # g_return_if_fail (n_param_values == 2); 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = g_value_peek_pointer (param_values + 0); 464s # } 464s # else 464s # { 464s # data1 = g_value_peek_pointer (param_values + 0); 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # g_marshal_value_peek_string (param_values + 1), 464s # data2); 464s # } 464s # 464s # void 464s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types) 464s # { 464s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__STRING callback; 464s # gpointer arg0; 464s # va_list args_copy; 464s # 464s # va_copy (args_copy, args); 464s # arg0 = (gpointer) va_arg (args_copy, gpointer); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # arg0 = g_strdup (arg0); 464s # va_end (args_copy); 464s # 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = instance; 464s # } 464s # else 464s # { 464s # data1 = instance; 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # arg0, 464s # data2); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # g_free (arg0); 464s # } 464s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 464s # tmpdir: /tmp/tmpxhd6bmrd 464s # genmarshal: /usr/bin/glib-genmarshal 464s # /tmp/tmpxhd6bmrd/tmpe9rwkpt6.list: VOID:VARIANT 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxhd6bmrd/tmpe9rwkpt6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 464s # 464s # G_BEGIN_DECLS 464s # 464s # /* VOID:VARIANT (/tmp/tmpxhd6bmrd/tmpe9rwkpt6.list:1) */ 464s # extern 464s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 464s # GValue *return_value, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint, 464s # gpointer marshal_data); 464s # extern 464s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 464s # GValue *return_value, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types); 464s # 464s # 464s # G_END_DECLS 464s # 464s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 464s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxhd6bmrd/tmpe9rwkpt6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 464s # 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. */ 464s # #ifdef G_ENABLE_DEBUG 464s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 464s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 464s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 464s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 464s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 464s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 464s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 464s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 464s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 464s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 464s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 464s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 464s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 464s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 464s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 464s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 464s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 464s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 464s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 464s # #else /* !G_ENABLE_DEBUG */ 464s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 464s # * Do not access GValues directly in your code. Instead, use the 464s # * g_value_get_*() functions 464s # */ 464s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 464s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 464s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 464s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 464s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 464s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 464s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 464s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 464s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 464s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 464s # #endif /* !G_ENABLE_DEBUG */ 464s # 464s # /* VOID:VARIANT (/tmp/tmpxhd6bmrd/tmpe9rwkpt6.list:1) */ 464s # void 464s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # guint n_param_values, 464s # const GValue *param_values, 464s # gpointer invocation_hint G_GNUC_UNUSED, 464s # gpointer marshal_data) 464s # { 464s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__VARIANT callback; 464s # 464s # g_return_if_fail (n_param_values == 2); 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = g_value_peek_pointer (param_values + 0); 464s # } 464s # else 464s # { 464s # data1 = g_value_peek_pointer (param_values + 0); 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # g_marshal_value_peek_variant (param_values + 1), 464s # data2); 464s # } 464s # 464s # void 464s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 464s # GValue *return_value G_GNUC_UNUSED, 464s # gpointer instance, 464s # va_list args, 464s # gpointer marshal_data, 464s # int n_params, 464s # GType *param_types) 464s # { 464s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 464s # gpointer arg1, 464s # gpointer data2); 464s # GCClosure *cc = (GCClosure *) closure; 464s # gpointer data1, data2; 464s # GMarshalFunc_VOID__VARIANT callback; 464s # gpointer arg0; 464s # va_list args_copy; 464s # 464s # va_copy (args_copy, args); 464s # arg0 = (gpointer) va_arg (args_copy, gpointer); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # arg0 = g_variant_ref_sink (arg0); 464s # va_end (args_copy); 464s # 464s # 464s # if (G_CCLOSURE_SWAP_DATA (closure)) 464s # { 464s # data1 = closure->data; 464s # data2 = instance; 464s # } 464s # else 464s # { 464s # data1 = instance; 464s # data2 = closure->data; 464s # } 464s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 464s # 464s # callback (data1, 464s # arg0, 464s # data2); 464s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 464s # g_variant_unref (arg0); 464s # } 464s 1..8 464s ok - glib/genmarshal.py.test 464s # Running test: glib/signals.test 464s TAP version 14 464s # random seed: R02Sa85e39e45e1d04e7d97b7fb0a0543ec0 464s 1..31 464s # Start of gobject tests 464s # Start of signals tests 464s ok 1 /gobject/signals/all-types 464s ok 2 /gobject/signals/variant 464s ok 3 /gobject/signals/destroy-target-object 464s ok 4 /gobject/signals/generic-marshaller-1 464s ok 5 /gobject/signals/generic-marshaller-2 464s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 464s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 464s ok 8 /gobject/signals/generic-marshaller-int-return 464s ok 9 /gobject/signals/generic-marshaller-uint-return 464s ok 10 /gobject/signals/generic-marshaller-interface-return 464s ok 11 /gobject/signals/custom-marshaller 464s ok 12 /gobject/signals/connect 464s ok 13 /gobject/signals/emission-hook 464s ok 14 /gobject/signals/emitv 464s ok 15 /gobject/signals/accumulator 464s # Signal: accumulator-class-first 464s # Signal: accumulator-class-last 464s # Signal: accumulator-class-cleanup 464s # Signal: accumulator-class-first-last 464s # Signal: accumulator-class-first-last-cleanup 464s # Signal: accumulator-class-last-cleanup 464s ok 16 /gobject/signals/accumulator-class 464s ok 17 /gobject/signals/introspection 464s ok 18 /gobject/signals/block-handler 464s ok 19 /gobject/signals/stop-emission 464s ok 20 /gobject/signals/invocation-hint 464s ok 21 /gobject/signals/test-disconnection-wrong-object 464s ok 22 /gobject/signals/clear-signal-handler 464s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 464s ok 23 /gobject/signals/lookup 464s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 464s ok 24 /gobject/signals/parse-name 464s ok 25 /gobject/signals/is-valid-name 464s ok 26 /gobject/signals/weak-ref-disconnect 464s # Start of lookup tests 464s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 464s ok 27 /gobject/signals/lookup/invalid 464s # End of lookup tests 464s # Start of parse-name tests 464s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 464s # Parser input: 464s # Parser input: 7zip 464s # Parser input: invalid:signal 464s # Parser input: simple-detailed:: 464s # Parser input: simple-detailed: 464s # Parser input: : 464s # Parser input: :: 464s # Parser input: :valid-detail 464s # Parser input: ::valid-detail 464s ok 28 /gobject/signals/parse-name/invalid 464s # End of parse-name tests 464s # Start of invalid-name tests 464s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 464s ok 29 /gobject/signals/invalid-name/colon 464s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 464s ok 30 /gobject/signals/invalid-name/first-char 464s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 464s ok 31 /gobject/signals/invalid-name/empty 464s # End of invalid-name tests 464s # End of signals tests 464s # End of gobject tests 464s ok - glib/signals.test 464s # Running test: glib/socket-listener.test 464s TAP version 14 464s # random seed: R02S73b55c163190e106cb4031740d92a36c 464s 1..1 464s # Start of socket-listener tests 464s ok 1 /socket-listener/event-signal 464s # End of socket-listener tests 464s ok - glib/socket-listener.test 464s # Running test: glib/sleepy-stream.test 464s TAP version 14 464s # random seed: R02Sd3ccb91650f60ba7b335059ee87a6040 464s 1..2 464s # Start of filter-stream tests 464s ok 1 /filter-stream/input 464s ok 2 /filter-stream/async 464s # End of filter-stream tests 464s ok - glib/sleepy-stream.test 464s # Running test: glib/portal-support-snap-classic.test 464s TAP version 14 464s # random seed: R02S5c175b9ffadff35198e702f6a389cc9e 464s 1..3 464s # Start of portal-support tests 464s # Start of snap-classic tests 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl/.dirs/runtime 464s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/no-snapctl: No such file or directory 464s ok 1 /portal-support/snap-classic/no-snapctl 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/runtime 464s # Created snap.yaml in /tmp/test_portal-support-snap-classic_4ABAX2/meta/snap.yaml 464s # Created snapctl in /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none/.dirs/runtime/snapctl 464s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/none: No such file or directory 464s ok 2 /portal-support/snap-classic/none 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/runtime 464s # Created snap.yaml in /tmp/test_portal-support-snap-classic_4ABAX2/meta/snap.yaml 464s # Created snapctl in /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all/.dirs/runtime/snapctl 464s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4ABAX2/portal-support/snap-classic/all: No such file or directory 464s ok 3 /portal-support/snap-classic/all 464s # End of snap-classic tests 464s # End of portal-support tests 464s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4ABAX2: No such file or directory 464s ok - glib/portal-support-snap-classic.test 464s # Running test: glib/refcount-macro.test 464s TAP version 14 464s # random seed: R02S3ba1cf4d3ec881c0c6d4882ad70648f3 464s 1..4 464s # Start of refcount tests 464s ok 1 /refcount/grefcount 464s ok 2 /refcount/gatomicrefcount 464s # Start of grefcount tests 464s ok 3 /refcount/grefcount/saturation 464s # End of grefcount tests 464s # Start of gatomicrefcount tests 464s ok 4 /refcount/gatomicrefcount/saturation 464s # End of gatomicrefcount tests 464s # End of refcount tests 464s ok - glib/refcount-macro.test 464s # Running test: glib/socket.test 464s TAP version 14 464s # random seed: R02Sc86af83244c667b604840ffda8bc7ef7 464s 1..28 464s # Start of socket tests 465s ok 1 /socket/ipv4_sync 465s # slow test /socket/ipv4_sync executed in 1.00 secs 466s ok 2 /socket/ipv4_async 466s # slow test /socket/ipv4_async executed in 1.00 secs 466s ok 3 /socket/ipv6_sync 466s ok 4 /socket/ipv6_async 466s ok 5 /socket/ipv6_v4mapped 467s ok 6 /socket/close_graceful 467s # slow test /socket/close_graceful executed in 1.00 secs 467s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 467s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 467s ok 8 /socket/fd_reuse 467s ok 9 /socket/address 467s ok 10 /socket/unix-from-fd 467s ok 11 /socket/unix-connection 467s ok 12 /socket/unix-connection-ancillary-data 467s ok 13 /socket/source-postmortem 467s ok 14 /socket/read_write 467s ok 15 /socket/read_writev 467s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 467s ok 16 /socket/receive_bytes 467s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 467s ok 17 /socket/receive_bytes_from 467s # Start of ipv4_sync tests 467s ok 18 /socket/ipv4_sync/datagram 467s # Start of datagram tests 467s # Executing: glib/socket.test 468s ok 19 /socket/ipv4_sync/datagram/timeouts 468s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 468s # End of datagram tests 468s # End of ipv4_sync tests 468s # Start of ipv6_sync tests 468s ok 20 /socket/ipv6_sync/datagram 468s # Start of datagram tests 469s ok 21 /socket/ipv6_sync/datagram/timeouts 469s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 469s # End of datagram tests 469s # End of ipv6_sync tests 469s # Start of reuse tests 469s ok 22 /socket/reuse/tcp 469s ok 23 /socket/reuse/udp 469s # End of reuse tests 469s # Start of get_available tests 469s ok 24 /socket/get_available/datagram 469s ok 25 /socket/get_available/stream 469s # End of get_available tests 469s # Start of credentials tests 469s # Supported on this OS: GCredentials:linux-ucred:pid=0 469s ok 26 /socket/credentials/tcp_client 469s # Supported on this OS: GCredentials:linux-ucred:pid=0 469s ok 27 /socket/credentials/tcp_server 469s # Supported on this OS: GCredentials:linux-ucred:pid=11920,uid=1000,gid=1000 469s ok 28 /socket/credentials/unix_socketpair 469s # End of credentials tests 469s # End of socket tests 469s ok - glib/socket.test 469s # Running test: glib/spawn-multithreaded.test 469s TAP version 14 469s # random seed: R02S292bfa2c0bc52550b82146048bdc6487 469s 1..4 469s # Start of gthread tests 470s # Child 11944 (ttl 1) exited, status 0 471s # Child 11945 (ttl 2) exited, status 0 471s ok 1 /gthread/spawn-childs 471s # slow test /gthread/spawn-childs executed in 2.00 secs 471s # Created pid: 11949 (ttl 1) 471s # Created pid: 11950 (ttl 2) 472s # Executing: glib/spawn-multithreaded.test 472s # Child 11949 (ttl 1) exited, status 0 473s # Child 11950 (ttl 2) exited, status 0 473s ok 2 /gthread/spawn-childs-threads 473s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 473s ok 3 /gthread/spawn-sync 473s ok 4 /gthread/spawn-async 473s # End of gthread tests 473s ok - glib/spawn-multithreaded.test 473s # Running test: glib/gdbus-peer-object-manager.test 473s TAP version 14 473s # random seed: R02Sbd6536cd1b423ac152398b9a86660d58 473s 1..2 473s # Start of gdbus tests 473s # Start of peer-object-manager tests 473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/home 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/cache 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/system-config2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/config 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/system-data2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/data 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/state 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/normal/.dirs/runtime 473s ok 1 /gdbus/peer-object-manager/normal 473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/home 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/cache 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/system-config2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/config 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/system-data2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/data 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/state 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_EUSGX2/gdbus/peer-object-manager/root/.dirs/runtime 473s ok 2 /gdbus/peer-object-manager/root 473s # End of peer-object-manager tests 473s # End of gdbus tests 473s ok - glib/gdbus-peer-object-manager.test 473s # Running test: glib/rcbox.test 473s TAP version 14 473s # random seed: R02Sd3ac39ca78eb6dbbab808c96a411ae09 473s 1..8 473s # Start of rcbox tests 473s ok 1 /rcbox/new 473s # global_point = 0x63df0aaf8840 473s ok 2 /rcbox/release-full 473s # global_point_a = 0x63df0aaf8840 473s # global_point_b = 0x63df0aaf8800 473s ok 3 /rcbox/dup 473s ok 4 /rcbox/alignment 473s # End of rcbox tests 473s # Start of atomic-rcbox tests 473s ok 5 /atomic-rcbox/new 473s # global_point = 0x63df0aaf8a10 473s ok 6 /atomic-rcbox/release-full 473s # global_point_a = 0x63df0aaf8a10 473s # global_point_b = 0x63df0aaf89d0 473s ok 7 /atomic-rcbox/dup 473s ok 8 /atomic-rcbox/alignment 473s # End of atomic-rcbox tests 473s ok - glib/rcbox.test 473s # Running test: glib/module-test-library.test 473s TAP version 14 473s # random seed: R02S737e7ef1231a68ab8e1cf0f41d5e2a8b 473s 1..3 473s # Start of module tests 473s ok 1 /module/basics 473s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 473s ok 2 /module/invalid-libtool-archive 473s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 473s ok 3 /module/local-binding 473s # End of module tests 473s ok - glib/module-test-library.test 473s # Running test: glib/gdbus-message.test 473s TAP version 14 473s # random seed: R02S24e90960755ce5378ac977f8de1b8c5f 473s 1..3 473s # Start of gdbus tests 473s # Start of message tests 473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/home 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/cache 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/system-config2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/config 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/system-data2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/data 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/state 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EKOHX2/gdbus/message/lock/.dirs/runtime 473s ok 1 /gdbus/message/lock 473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/home 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/cache 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/system-config2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/config 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/system-data2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/data 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/state 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EKOHX2/gdbus/message/copy/.dirs/runtime 473s ok 2 /gdbus/message/copy 473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/home 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/cache 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/system-config2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/config 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/system-data2 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/data 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/state 473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EKOHX2/gdbus/message/bytes-needed/.dirs/runtime 473s # Vector: 0 473s # Vector: 1 473s # Vector: 2 473s # Vector: 3 473s # Vector: 4 473s # Vector: 5 473s ok 3 /gdbus/message/bytes-needed 473s # End of message tests 473s # End of gdbus tests 473s ok - glib/gdbus-message.test 473s # Running test: glib/gio-tool.py.test 473s TAP version 13 473s ok 1 __main__.TestGioTool.test_help 473s # tmpdir: /tmp/tmpgrpahug8 473s # gio: /usr/bin/gio 473s # Running: ['/usr/bin/gio', '--help'] 473s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 473s # Output: Usage: 473s # gio COMMAND [ARGS…] 473s # 473s # Commands: 473s # help Print help 473s # version Print version 473s # cat Concatenate files to standard output 473s # copy Copy one or more files 473s # info Show information about locations 473s # launch Launch an application from a desktop file 473s # list List the contents of locations 473s # mime Get or set the handler for a mimetype 473s # mkdir Create directories 473s # monitor Monitor files and directories for changes 473s # mount Mount or unmount the locations 473s # move Move one or more files 473s # open Open files with the default application 473s # rename Rename a file 473s # remove Delete one or more files 473s # save Read from standard input and save 473s # set Set a file attribute 473s # trash Move files or directories to the trash 473s # tree Lists the contents of locations in a tree 473s # 473s # Use “gio help COMMAND†to get detailed help. 473s # Running: ['/usr/bin/gio', 'help'] 473s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 473s # Output: Usage: 473s # gio COMMAND [ARGS…] 473s # 473s # Commands: 473s # help Print help 473s # version Print version 473s # cat Concatenate files to standard output 473s # copy Copy one or more files 473s # info Show information about locations 473s # launch Launch an application from a desktop file 473s # list List the contents of locations 473s # mime Get or set the handler for a mimetype 473s # mkdir Create directories 473s # monitor Monitor files and directories for changes 473s # mount Mount or unmount the locations 473s # move Move one or more files 473s # open Open files with the default application 473s # rename Rename a file 473s # remove Delete one or more files 473s # save Read from standard input and save 473s # set Set a file attribute 473s # trash Move files or directories to the trash 473s # tree Lists the contents of locations in a tree 473s # 473s # Use “gio help COMMAND†to get detailed help. 473s ok 2 __main__.TestGioTool.test_info_non_default_attributes 473s # tmpdir: /tmp/tmp5bud179g 473s # gio: /usr/bin/gio 473s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp5bud179g/tmpl47larhe'] 473s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 473s # Output: uri: file:///tmp/tmp5bud179g/tmpl47larhe 473s # local path: /tmp/tmp5bud179g/tmpl47larhe 473s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 473s # attributes: 473s # standard::content-type: application/x-zerosize 473s ok 3 __main__.TestGioTool.test_no_args 473s # tmpdir: /tmp/tmp3fj6tfg7 473s # gio: /usr/bin/gio 473s # Running: ['/usr/bin/gio'] 473s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 473s 1..3 473s ok - glib/gio-tool.py.test 473s # Running test: glib/markup-collect.test 473s TAP version 14 473s # random seed: R02S08b7716b9de3b14acf216d8056229c96 473s 1..21 473s # Start of markup tests 473s # Start of collect tests 473s ok 1 /markup/collect/0 473s ok 2 /markup/collect/1 473s ok 3 /markup/collect/2 473s ok 4 /markup/collect/3 473s ok 5 /markup/collect/4 473s ok 6 /markup/collect/5 473s ok 7 /markup/collect/6 473s ok 8 /markup/collect/7 473s ok 9 /markup/collect/8 473s ok 10 /markup/collect/9 473s ok 11 /markup/collect/10 473s ok 12 /markup/collect/11 473s ok 13 /markup/collect/12 473s ok 14 /markup/collect/13 473s ok 15 /markup/collect/14 473s ok 16 /markup/collect/15 473s ok 17 /markup/collect/16 473s ok 18 /markup/collect/17 473s ok 19 /markup/collect/18 473s ok 20 /markup/collect/19 473s ok 21 /markup/collect/cleanup 473s # End of collect tests 473s # End of markup tests 473s ok - glib/markup-collect.test 473s # Running test: glib/autoptr-gio.test 473s TAP version 14 473s # random seed: R02Sf71c613425d6ae89427a9451b11d1428 473s 1..1 473s # Start of autoptr tests 473s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 473s ok 1 /autoptr/autoptr 473s # End of autoptr tests 473s ok - glib/autoptr-gio.test 473s # Running test: glib/thread.test 473s TAP version 14 473s # random seed: R02S3b29dc40485de614d4b159359cb0436b 473s 1..7 473s # Start of thread tests 473s ok 1 /thread/thread1 473s ok 2 /thread/thread2 473s ok 3 /thread/thread3 473s ok 4 /thread/thread4 473s ok 5 /thread/thread5 473s ok 6 /thread/thread6 473s ok 7 /thread/thread7 473s # End of thread tests 473s ok - glib/thread.test 473s # Running test: glib/cxx-03.test 473s TAP version 14 473s # random seed: R02Sd983c232340843cafca158519aa73c83 473s 1..2 473s # Start of gtask tests 473s # 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. 473s ok 1 /gtask/name 473s # Start of name tests 473s # 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. 473s ok 2 /gtask/name/macro-wrapper 473s # End of name tests 473s # End of gtask tests 473s ok - glib/cxx-03.test 473s # Running test: glib/properties.test 473s TAP version 14 473s # random seed: R02S18dce878e2b30e33fa797d666ee88de2 473s 1..13 473s # Start of properties tests 473s ok 1 /properties/install 473s ok 2 /properties/install-many 473s ok 3 /properties/notify 473s ok 4 /properties/notify-queue 473s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 473s ok 5 /properties/construct 473s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 473s # Test g_object_get_property with an initialized value 473s # Test g_object_get_property with an uninitialized value 473s # Test g_object_get_property with a transformable value 473s ok 6 /properties/get-property 473s ok 7 /properties/testv_with_no_properties 473s ok 8 /properties/testv_with_valid_properties 473s ok 9 /properties/testv_with_invalid_property_type 473s ok 10 /properties/testv_with_invalid_property_names 473s ok 11 /properties/testv_getv 473s ok 12 /properties/testv_notify_queue 473s # Start of set-property tests 473s # Start of variant tests 473s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 473s ok 13 /properties/set-property/variant/floating 473s # End of variant tests 473s # End of set-property tests 473s # End of properties tests 473s ok - glib/properties.test 473s # Running test: glib/signalgroup.test 473s TAP version 14 473s # random seed: R02S3a1147499746586b857eb44baf6cd1e2 473s 1..9 473s # Start of GObject tests 473s # Start of SignalGroup tests 473s ok 1 /GObject/SignalGroup/invalid 473s ok 2 /GObject/SignalGroup/simple 473s ok 3 /GObject/SignalGroup/changing-target 473s ok 4 /GObject/SignalGroup/blocking 473s ok 5 /GObject/SignalGroup/weak-ref-target 473s ok 6 /GObject/SignalGroup/connect-object 473s ok 7 /GObject/SignalGroup/signal-parsing 473s ok 8 /GObject/SignalGroup/properties 473s ok 9 /GObject/SignalGroup/interface 473s # Start of signal-parsing tests 473s # End of signal-parsing tests 473s # End of SignalGroup tests 473s # End of GObject tests 473s ok - glib/signalgroup.test 473s # Running test: glib/protocol.test 473s TAP version 14 473s # random seed: R02S23eace571b3fedc6e702fd41537f8358 473s 1..9 473s # Start of glib tests 473s # Start of testing tests 473s # Start of protocol tests 473s ok 1 /glib/testing/protocol/debug 473s ok 2 /glib/testing/protocol/info 473s ok 3 /glib/testing/protocol/message 473s ok 4 /glib/testing/protocol/warning 473s ok 5 /glib/testing/protocol/critical 473s ok 6 /glib/testing/protocol/error 473s ok 7 /glib/testing/protocol/gtest-message 473s ok 8 /glib/testing/protocol/test-message 473s ok 9 /glib/testing/protocol/test-error 473s # End of protocol tests 473s # End of testing tests 473s # End of glib tests 473s ok - glib/protocol.test 473s # Running test: glib/basics-gobject.test 473s TAP version 14 473s # random seed: R02Sbf26a5115fd1b386d7fb14a9b1e24df2 473s 1..1 473s # Start of gobject tests 473s # private data during initialization: 54321 == 54321 473s # MAIN: emit test-signal: 473s # ::test_signal default_handler called 473s # ::test_signal default_handler called 473s # ::test_signal default_handler called 473s # signal return: "" 473s # MAIN: call iface print-string on test and derived object: 473s # Iface-FOO: "iface-string-from-test-type" from 0x5c6ed2d777a0 473s # Iface-BAR: "iface-string-from-derived-type" from 0x5c6ed2d776c0 473s # chaining: 473s # Iface-FOO: "iface-string-from-derived-type" from 0x5c6ed2d776c0 473s # private data after initialization: 54321 == 54321 473s ok 1 /gobject/basics 473s # End of gobject tests 473s ok - glib/basics-gobject.test 473s # Running test: glib/unicode-normalize.test 473s TAP version 14 473s # random seed: R02S61e92c91c5b0c18e618951c9a021a288 473s 1..3 473s # Start of unicode tests 473s # Processing Part0 # Specific cases 473s # Processing Part1 # Character by character test 473s # Processing Part2 # Canonical Order Test 473s # Processing Part3 # PRI #29 Test 473s ok 1 /unicode/normalize 473s # Invalid UTF-8 vector 0 473s # Invalid UTF-8 vector 1 473s # Invalid UTF-8 vector 2 473s # Invalid UTF-8 vector 3 473s # Invalid UTF-8 vector 4 473s # Invalid UTF-8 vector 5 473s # Invalid UTF-8 vector 6 473s # Invalid UTF-8 vector 7 473s # Invalid UTF-8 vector 8 473s # Invalid UTF-8 vector 9 473s # Invalid UTF-8 vector 10 473s # Invalid UTF-8 vector 11 473s # Invalid UTF-8 vector 12 473s ok 2 /unicode/normalize-invalid 473s # Start of normalize tests 473s ok 3 /unicode/normalize/bad-length 473s # End of normalize tests 473s # End of unicode tests 473s ok - glib/unicode-normalize.test 473s # Running test: glib/flags.test 473s TAP version 14 473s # random seed: R02Sc75503d60fe27389d3d1689d387d6710 473s 1..1 473s # Start of gobject tests 473s # Start of flags tests 473s ok 1 /gobject/flags/validate 473s # End of flags tests 473s # End of gobject tests 473s ok - glib/flags.test 473s # Running test: glib/utf8-pointer.test 473s TAP version 14 473s # random seed: R02Sce5b13cc138b5b5963bb945ed06c56b9 473s 1..3 473s # Start of utf8 tests 474s ok 1 /utf8/offsets 474s # slow test /utf8/offsets executed in 0.90 secs 474s ok 2 /utf8/lengths 474s ok 3 /utf8/find 474s # End of utf8 tests 474s ok - glib/utf8-pointer.test 474s # Running test: glib/sequence.test 474s TAP version 14 474s # random seed: R02S8c705a09e2630777cc238a5cfc801695 474s 1..16 474s # Start of sequence tests 474s ok 1 /sequence/out-of-range-jump 474s ok 2 /sequence/iter-move 474s ok 3 /sequence/insert-sorted-non-pointer 474s ok 4 /sequence/stable-sort 474s ok 5 /sequence/is_empty 474s # Start of random tests 475s ok 6 /sequence/random/seed:825541564 475s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 475s ok 7 /sequence/random/seed:801678400 475s # slow test /sequence/random/seed:801678400 executed in 0.51 secs 476s ok 8 /sequence/random/seed:1477639090 476s # slow test /sequence/random/seed:1477639090 executed in 0.53 secs 476s ok 9 /sequence/random/seed:3369132895 477s # Executing: glib/sequence.test 477s ok 10 /sequence/random/seed:1192944867 477s # slow test /sequence/random/seed:1192944867 executed in 0.51 secs 478s ok 11 /sequence/random/seed:770458294 478s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 478s ok 12 /sequence/random/seed:1099575817 478s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 479s ok 13 /sequence/random/seed:590523467 479s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 479s ok 14 /sequence/random/seed:3583571454 479s # slow test /sequence/random/seed:3583571454 executed in 0.54 secs 480s ok 15 /sequence/random/seed:579241222 480s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 480s ok 16 /sequence/random/seed:1062053741 480s # slow test /sequence/random/seed:1062053741 executed in 0.52 secs 480s # End of random tests 480s # End of sequence tests 480s ok - glib/sequence.test 480s # Running test: glib/glistmodel.test 480s TAP version 14 480s # random seed: R02Sfeae550b0fa04e3cae56493ea825371c 480s 1..18 480s # Start of glistmodel tests 480s # Start of store tests 480s ok 1 /glistmodel/store/properties 480s ok 2 /glistmodel/store/non-gobjects 480s ok 3 /glistmodel/store/boundaries 480s ok 4 /glistmodel/store/refcounts 480s ok 5 /glistmodel/store/sorted 480s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 480s ok 6 /glistmodel/store/splice-replace-middle 480s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 480s ok 7 /glistmodel/store/splice-replace-all 480s ok 8 /glistmodel/store/splice-noop 480s ok 9 /glistmodel/store/splice-remove-multiple 480s ok 10 /glistmodel/store/splice-add-multiple 480s ok 11 /glistmodel/store/splice-wrong-type 480s ok 12 /glistmodel/store/item-type 480s ok 13 /glistmodel/store/remove-all 480s ok 14 /glistmodel/store/sort 480s ok 15 /glistmodel/store/get-item-cache 480s ok 16 /glistmodel/store/items-changed 480s ok 17 /glistmodel/store/past-end 480s ok 18 /glistmodel/store/find 480s # End of store tests 480s # End of glistmodel tests 480s ok - glib/glistmodel.test 480s # Running test: glib/search-utils.test 480s TAP version 14 480s # random seed: R02S62d196015d256546fd935a033e8e8ed5 480s # GLib-DEBUG: Current user locale: C.UTF-8 480s 1..6 480s # Start of search tests 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 480s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 480s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 480s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 480s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 480s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 480s ok 1 /search/basic 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 480s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 480s # GLib-DEBUG: 'ele' - 'élève' should match: OK 480s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 480s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 480s ok 2 /search/composed 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 480s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 480s ok 3 /search/decomposed 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 480s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 480s ok 4 /search/turkish 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 480s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 480s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 480s ok 5 /search/c_locale_unicode 480s # GLib-DEBUG: Started 480s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 480s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 480s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 480s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 480s ok 6 /search/multi_words 480s # End of search tests 480s ok - glib/search-utils.test 480s # Running test: glib/environment.test 480s TAP version 14 480s # random seed: R02S036335fbeb054b8129e665f4479ce6ab 480s 1..6 480s # Start of environ tests 480s # /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. 480s ok 1 /environ/listenv 480s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 480s ok 2 /environ/getenv 480s ok 3 /environ/setenv 480s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 480s ok 4 /environ/array 480s # /environ/null summary: Test getting and setting variables on a NULL envp array. 480s ok 5 /environ/null 480s # /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. 480s ok 6 /environ/case 480s # End of environ tests 480s ok - glib/environment.test 480s # Running test: glib/cond.test 480s TAP version 14 480s # random seed: R02S1125726126a4dc399a3ed4f5b103b533 480s 1..4 480s # Start of thread tests 480s ok 1 /thread/cond1 480s ok 2 /thread/cond2 480s # Start of cond tests 481s ok 3 /thread/cond/wait-until 481s # slow test /thread/cond/wait-until executed in 1.02 secs 481s # Start of wait-until tests 481s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 482s # Executing: glib/cond.test 482s ok 4 /thread/cond/wait-until/contended-and-interrupted 482s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 482s # End of wait-until tests 482s # End of cond tests 482s # End of thread tests 482s ok - glib/cond.test 482s # Running test: glib/simple-proxy.test 482s TAP version 14 482s # random seed: R02Scae2a7041950292a8c55c9e286e2a2a5 482s 1..3 482s # Start of static-proxy tests 482s ok 1 /static-proxy/uri 482s ok 2 /static-proxy/socks 482s ok 3 /static-proxy/ignore 482s # End of static-proxy tests 482s ok - glib/simple-proxy.test 482s # Running test: glib/gdbus-error.test 482s TAP version 14 482s # random seed: R02Se51430f9dc0cee6b67497d98c77bc0c0 482s 1..4 482s # Start of gdbus tests 482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/home 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/cache 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/system-config2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/config 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/system-data2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/data 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/state 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZIXDX2/gdbus/registered-errors/.dirs/runtime 482s ok 1 /gdbus/registered-errors 482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/home 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/cache 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/system-config2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/config 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/system-data2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/data 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/state 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZIXDX2/gdbus/unregistered-errors/.dirs/runtime 482s ok 2 /gdbus/unregistered-errors 482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/home 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/cache 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/system-config2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/config 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/system-data2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/data 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/state 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZIXDX2/gdbus/transparent-gerror/.dirs/runtime 482s ok 3 /gdbus/transparent-gerror 482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/home 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/cache 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/system-config2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/config 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/system-data2 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/data 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/state 482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZIXDX2/gdbus/register-error/.dirs/runtime 482s ok 4 /gdbus/register-error 482s # End of gdbus tests 482s ok - glib/gdbus-error.test 482s # Running test: glib/custom-dispatch.test 482s TAP version 14 482s # random seed: R02S0c2c4d1826b0d295ee1bdb89450eed45 482s 1..2 482s # Start of properties tests 482s # Start of custom-dispatch tests 482s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 482s ok 1 /properties/custom-dispatch/init 482s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 482s ok 2 /properties/custom-dispatch/set 482s # End of custom-dispatch tests 482s # End of properties tests 482s ok - glib/custom-dispatch.test 482s # Running test: glib/utf8-misc.test 482s TAP version 14 482s # random seed: R02S474b9ffca0a39d0c44e24d87334c0385 482s 1..7 482s # Start of utf8 tests 482s ok 1 /utf8/strlen 482s ok 2 /utf8/strncpy 482s ok 3 /utf8/strrchr 482s ok 4 /utf8/reverse 482s ok 5 /utf8/substring 482s ok 6 /utf8/make-valid 482s ok 7 /utf8/truncate-middle 482s # End of utf8 tests 482s ok - glib/utf8-misc.test 482s # Running test: glib/memory-output-stream.test 482s TAP version 14 482s # random seed: R02S80d6f13e68e3f9b1bfb7e04f47f2a515 482s 1..10 482s # Start of memory-output-stream tests 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 482s ok 1 /memory-output-stream/truncate 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 482s ok 2 /memory-output-stream/get-data-size 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 482s ok 3 /memory-output-stream/properties 482s ok 4 /memory-output-stream/write-bytes 482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 482s ok 5 /memory-output-stream/write-null 482s ok 6 /memory-output-stream/writev 482s ok 7 /memory-output-stream/writev_nonblocking 482s ok 8 /memory-output-stream/steal_as_bytes 482s # Start of seek tests 482s ok 9 /memory-output-stream/seek/fixed 482s ok 10 /memory-output-stream/seek/resizable 482s # End of seek tests 482s # End of memory-output-stream tests 482s ok - glib/memory-output-stream.test 482s # Running test: glib/gsocketclient-slow.test 482s TAP version 14 482s # random seed: R02Se6bbd2b9a0d8539c16eeb2d1408a7cbc 482s 1..4 482s # Start of socket-client tests 482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 482s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 482s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6138bc41d280 and GSocketClientAsyncConnectData 0x6138bc415b90 482s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 482s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 482s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6138bc41f160 for GSocketClientAsyncConnectData 0x6138bc415b90 482s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 483s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 483s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 483s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 483s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 483s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 483s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6138bc4202c0 for GSocketClientAsyncConnectData 0x6138bc415b90 483s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 484s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 484s ok 1 /socket-client/connection-fail 484s # slow test /socket-client/connection-fail executed in 1.20 secs 484s # Start of happy-eyeballs tests 484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6138bc422c50 and GSocketClientAsyncConnectData 0x6138bc420f00 484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6138bc4235d0 for GSocketClientAsyncConnectData 0x6138bc420f00 484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 484s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 484s ok 2 /socket-client/happy-eyeballs/slow 484s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 484s # Start of cancellation tests 484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6138bc424240 and GSocketClientAsyncConnectData 0x6138bc423160 484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 484s ok 3 /socket-client/happy-eyeballs/cancellation/instant 484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6138bc422c90 and GSocketClientAsyncConnectData 0x6138bc4244d0 484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6138bc424ca0 for GSocketClientAsyncConnectData 0x6138bc4244d0 484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 485s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 485s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 485s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 485s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 485s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 485s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 485s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 485s # End of cancellation tests 485s # End of happy-eyeballs tests 485s # End of socket-client tests 485s ok - glib/gsocketclient-slow.test 485s # Running test: glib/mappedfile.test 485s TAP version 14 485s # random seed: R02S16343e76f740c4d9e0a3ec15ac00b12b 485s 1..7 485s # Start of mappedfile tests 485s ok 1 /mappedfile/basic 485s ok 2 /mappedfile/empty 485s ok 3 /mappedfile/device 485s ok 4 /mappedfile/nonexisting 485s ok 5 /mappedfile/writable 485s ok 6 /mappedfile/writable_fd 485s ok 7 /mappedfile/gbytes 485s # End of mappedfile tests 485s ok - glib/mappedfile.test 485s # Running test: glib/macros-c-89.test 485s TAP version 14 485s # random seed: R02Sdf31c5ace5f4c37de5cc7fbfd462e384 485s 1..4 485s # Start of C tests 485s ok 1 /C/standard-89 485s # End of C tests 485s # Start of alignof tests 485s ok 2 /alignof/fallback 485s # End of alignof tests 485s # Start of assert tests 485s ok 3 /assert/static 485s # End of assert tests 485s # Start of struct tests 485s ok 4 /struct/sizeof_member 485s # End of struct tests 485s ok - glib/macros-c-89.test 485s # Running test: glib/codegen.py.test 485s TAP version 13 485s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 485s # tmpdir: /tmp/tmpp4j9cf7k 485s # codegen: /usr/bin/gdbus-codegen 485s # /tmp/tmpp4j9cf7k/tmpa094ci_u.xml: 485s # 485s # 485s # 485s # 485s # 485s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp4j9cf7k/tmpa094ci_u.xml', '--output', '-', '--header'] 485s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 485s # Output: /* 485s # * This file is generated by gdbus-codegen, do not modify it. 485s # * 485s # * The license of this code is the same as for the D-Bus interface description 485s # * it was derived from. Note that it links to GLib, so must comply with the 485s # * LGPL linking clauses. 485s # */ 485s # 485s # #ifndef __STDOUT__ 485s # #define __STDOUT__ 485s # 485s # #include 485s # 485s # G_BEGIN_DECLS 485s # 485s # 485s # /* ------------------------------------------------------------------------ */ 485s # /* Declarations for org.project.UsefulInterface */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 485s # 485s # struct _OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 485s # 485s # struct _OrgProjectUsefulInterfaceIface 485s # { 485s # GTypeInterface parent_iface; 485s # 485s # gboolean (*handle_useful_method) ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # }; 485s # 485s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 485s # 485s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 485s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 485s # 485s # 485s # /* D-Bus method call completion functions: */ 485s # void org_project_useful_interface_complete_useful_method ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # 485s # 485s # /* D-Bus method calls: */ 485s # void org_project_useful_interface_call_useful_method ( 485s # OrgProjectUsefulInterface *proxy, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_finish ( 485s # OrgProjectUsefulInterface *proxy, 485s # GAsyncResult *res, 485s # GError **error); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_sync ( 485s # OrgProjectUsefulInterface *proxy, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 485s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 485s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceProxy 485s # { 485s # /*< private >*/ 485s # GDBusProxy parent_instance; 485s # OrgProjectUsefulInterfaceProxyPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceProxyClass 485s # { 485s # GDBusProxyClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 485s # #endif 485s # 485s # void org_project_useful_interface_proxy_new ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # void org_project_useful_interface_proxy_new_for_bus ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeleton 485s # { 485s # /*< private >*/ 485s # GDBusInterfaceSkeleton parent_instance; 485s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeletonClass 485s # { 485s # GDBusInterfaceSkeletonClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 485s # #endif 485s # 485s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 485s # 485s # 485s # G_END_DECLS 485s # 485s # #endif /* __STDOUT__ */ 485s # /tmp/tmpp4j9cf7k/tmp7r6nbkfn.xml: 485s # 485s # 485s # 485s # 485s # 485s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp4j9cf7k/tmp7r6nbkfn.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 485s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 485s # Output: /* 485s # * This file is generated by gdbus-codegen, do not modify it. 485s # * 485s # * The license of this code is the same as for the D-Bus interface description 485s # * it was derived from. Note that it links to GLib, so must comply with the 485s # * LGPL linking clauses. 485s # */ 485s # 485s # #ifndef __STDOUT__ 485s # #define __STDOUT__ 485s # 485s # #include 485s # 485s # G_BEGIN_DECLS 485s # 485s # 485s # /* ------------------------------------------------------------------------ */ 485s # /* Declarations for org.project.UsefulInterface */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 485s # 485s # struct _OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 485s # 485s # struct _OrgProjectUsefulInterfaceIface 485s # { 485s # GTypeInterface parent_iface; 485s # 485s # gboolean (*handle_useful_method) ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # }; 485s # 485s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 485s # 485s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 485s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 485s # 485s # 485s # /* D-Bus method call completion functions: */ 485s # void org_project_useful_interface_complete_useful_method ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # 485s # 485s # /* D-Bus method calls: */ 485s # void org_project_useful_interface_call_useful_method ( 485s # OrgProjectUsefulInterface *proxy, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_finish ( 485s # OrgProjectUsefulInterface *proxy, 485s # GAsyncResult *res, 485s # GError **error); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_sync ( 485s # OrgProjectUsefulInterface *proxy, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 485s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 485s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceProxy 485s # { 485s # /*< private >*/ 485s # GDBusProxy parent_instance; 485s # OrgProjectUsefulInterfaceProxyPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceProxyClass 485s # { 485s # GDBusProxyClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 485s # #endif 485s # 485s # void org_project_useful_interface_proxy_new ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # void org_project_useful_interface_proxy_new_for_bus ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeleton 485s # { 485s # /*< private >*/ 485s # GDBusInterfaceSkeleton parent_instance; 485s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeletonClass 485s # { 485s # GDBusInterfaceSkeletonClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 485s # #endif 485s # 485s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 485s # 485s # 485s # G_END_DECLS 485s # 485s # #endif /* __STDOUT__ */ 485s # /tmp/tmpp4j9cf7k/tmpnwn8hd9y.xml: 485s # 485s # 485s # 485s # 485s # 485s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp4j9cf7k/tmpnwn8hd9y.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 485s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 485s # Output: /* 485s # * This file is generated by gdbus-codegen, do not modify it. 485s # * 485s # * The license of this code is the same as for the D-Bus interface description 485s # * it was derived from. Note that it links to GLib, so must comply with the 485s # * LGPL linking clauses. 485s # */ 485s # 485s # #ifndef __STDOUT__ 485s # #define __STDOUT__ 485s # 485s # #include 485s # 485s # G_BEGIN_DECLS 485s # 485s # 485s # /* ------------------------------------------------------------------------ */ 485s # /* Declarations for org.project.UsefulInterface */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 485s # 485s # struct _OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 485s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 485s # 485s # struct _OrgProjectUsefulInterfaceIface 485s # { 485s # GTypeInterface parent_iface; 485s # 485s # gboolean (*handle_useful_method) ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # }; 485s # 485s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 485s # 485s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 485s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 485s # 485s # 485s # /* D-Bus method call completion functions: */ 485s # void org_project_useful_interface_complete_useful_method ( 485s # OrgProjectUsefulInterface *object, 485s # GDBusMethodInvocation *invocation); 485s # 485s # 485s # 485s # /* D-Bus method calls: */ 485s # void org_project_useful_interface_call_useful_method ( 485s # OrgProjectUsefulInterface *proxy, 485s # GDBusCallFlags call_flags, 485s # gint timeout_msec, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_finish ( 485s # OrgProjectUsefulInterface *proxy, 485s # GAsyncResult *res, 485s # GError **error); 485s # 485s # gboolean org_project_useful_interface_call_useful_method_sync ( 485s # OrgProjectUsefulInterface *proxy, 485s # GDBusCallFlags call_flags, 485s # gint timeout_msec, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 485s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 485s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceProxy 485s # { 485s # /*< private >*/ 485s # GDBusProxy parent_instance; 485s # OrgProjectUsefulInterfaceProxyPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceProxyClass 485s # { 485s # GDBusProxyClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 485s # #endif 485s # 485s # void org_project_useful_interface_proxy_new ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 485s # GDBusConnection *connection, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # void org_project_useful_interface_proxy_new_for_bus ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GAsyncReadyCallback callback, 485s # gpointer user_data); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 485s # GAsyncResult *res, 485s # GError **error); 485s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 485s # GBusType bus_type, 485s # GDBusProxyFlags flags, 485s # const gchar *name, 485s # const gchar *object_path, 485s # GCancellable *cancellable, 485s # GError **error); 485s # 485s # 485s # /* ---- */ 485s # 485s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 485s # 485s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 485s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeleton 485s # { 485s # /*< private >*/ 485s # GDBusInterfaceSkeleton parent_instance; 485s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 485s # }; 485s # 485s # struct _OrgProjectUsefulInterfaceSkeletonClass 485s # { 485s # GDBusInterfaceSkeletonClass parent_class; 485s # }; 485s # 485s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 485s # 485s # #if GLIB_CHECK_VERSION(2, 44, 0) 485s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 485s # #endif 485s # 485s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 485s # 485s # 485s # G_END_DECLS 485s # 485s # #endif /* __STDOUT__ */ 486s ok 2 __main__.TestCodegen.test_dbus_types 486s # tmpdir: /tmp/tmpo8k10lv4 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmpo8k10lv4/tmphgd0ftja.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmphgd0ftja.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpkz6c_f81.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpkz6c_f81.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpmwmwbxq_.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpmwmwbxq_.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpgehi5l1o.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpgehi5l1o.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpdvza4ynd.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpdvza4ynd.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmp1perr2z0.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmp1perr2z0.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmp0zv_ovab.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmp0zv_ovab.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpt51x1l4k.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpt51x1l4k.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmp69vxjsi8.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmp69vxjsi8.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmph6ab8u9v.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmph6ab8u9v.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpworydkoz.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpworydkoz.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpol_mefck.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpol_mefck.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmphjyx__iq.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmphjyx__iq.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # /tmp/tmpo8k10lv4/tmpf47ttumd.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpf47ttumd.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 486s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 486s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 486s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 486s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 486s # #endif /* !G_ENABLE_DEBUG */ 486s # 486s # typedef struct 486s # { 486s # GDBusArgInfo parent_struct; 486s # gboolean use_gvariant; 486s # } _ExtendedGDBusArgInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusMethodInfo parent_struct; 486s # const gchar *signal_name; 486s # gboolean pass_fdlist; 486s # } _ExtendedGDBusMethodInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusSignalInfo parent_struct; 486s # const gchar *signal_name; 486s # } _ExtendedGDBusSignalInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusPropertyInfo parent_struct; 486s # const gchar *hyphen_name; 486s # guint use_gvariant : 1; 486s # guint emits_changed_signal : 1; 486s # } _ExtendedGDBusPropertyInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusInterfaceInfo parent_struct; 486s # const gchar *hyphen_name; 486s # } _ExtendedGDBusInterfaceInfo; 486s # 486s # typedef struct 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # guint prop_id; 486s # GValue orig_value; /* the value before the change */ 486s # } ChangedProperty; 486s # 486s # static void 486s # _changed_property_free (ChangedProperty *data) 486s # { 486s # g_value_unset (&data->orig_value); 486s # g_free (data); 486s # } 486s # 486s # static gboolean 486s # _g_strv_equal0 (gchar **a, gchar **b) 486s # { 486s # gboolean ret = FALSE; 486s # guint n; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # if (g_strv_length (a) != g_strv_length (b)) 486s # goto out; 486s # for (n = 0; a[n] != NULL; n++) 486s # if (g_strcmp0 (a[n], b[n]) != 0) 486s # goto out; 486s # ret = TRUE; 486s # out: 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _g_variant_equal0 (GVariant *a, GVariant *b) 486s # { 486s # gboolean ret = FALSE; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # ret = g_variant_equal (a, b); 486s # out: 486s # return ret; 486s # } 486s # 486s # G_GNUC_UNUSED static gboolean 486s # _g_value_equal (const GValue *a, const GValue *b) 486s # { 486s # gboolean ret = FALSE; 486s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 486s # switch (G_VALUE_TYPE (a)) 486s # { 486s # case G_TYPE_BOOLEAN: 486s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 486s # break; 486s # case G_TYPE_UCHAR: 486s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 486s # break; 486s # case G_TYPE_INT: 486s # ret = (g_value_get_int (a) == g_value_get_int (b)); 486s # break; 486s # case G_TYPE_UINT: 486s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 486s # break; 486s # case G_TYPE_INT64: 486s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 486s # break; 486s # case G_TYPE_UINT64: 486s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 486s # break; 486s # case G_TYPE_DOUBLE: 486s # { 486s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 486s # gdouble da = g_value_get_double (a); 486s # gdouble db = g_value_get_double (b); 486s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 486s # } 486s # break; 486s # case G_TYPE_STRING: 486s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 486s # break; 486s # case G_TYPE_VARIANT: 486s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 486s # break; 486s # default: 486s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 486s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 486s # else 486s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 486s # break; 486s # } 486s # return ret; 486s # } 486s # 486s # /* ------------------------------------------------------------------------ 486s # * Code for interface GoodTypes 486s # * ------------------------------------------------------------------------ 486s # */ 486s # 486s # /** 486s # * SECTION:GoodTypes 486s # * @title: GoodTypes 486s # * @short_description: Generated C code for the GoodTypes D-Bus interface 486s # * 486s # * This section contains code for working with the GoodTypes D-Bus interface in C. 486s # */ 486s # 486s # /* ---- Introspection data for GoodTypes ---- */ 486s # 486s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodPropertyType", 486s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 486s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 486s # NULL 486s # }, 486s # "good-property-type", 486s # FALSE, 486s # TRUE 486s # }; 486s # 486s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 486s # { 486s # &_good_types_property_info_good_property_type.parent_struct, 486s # NULL 486s # }; 486s # 486s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodTypes", 486s # NULL, 486s # NULL, 486s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 486s # NULL 486s # }, 486s # "good-types", 486s # }; 486s # 486s # 486s # /** 486s # * good_types_interface_info: 486s # * 486s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 486s # * 486s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 486s # */ 486s # GDBusInterfaceInfo * 486s # good_types_interface_info (void) 486s # { 486s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 486s # } 486s # 486s # /** 486s # * good_types_override_properties: 486s # * @klass: The class structure for a #GObject derived class. 486s # * @property_id_begin: The property id to assign to the first overridden property. 486s # * 486s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 486s # * The properties are overridden in the order they are defined. 486s # * 486s # * Returns: The last property id. 486s # */ 486s # guint 486s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 486s # { 486s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 486s # return property_id_begin - 1; 486s # } 486s # 486s # 486s # 486s # /** 486s # * GoodTypes: 486s # * 486s # * Abstract interface type for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # /** 486s # * GoodTypesIface: 486s # * @parent_iface: The parent interface. 486s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 486s # * 486s # * Virtual table for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # typedef GoodTypesIface GoodTypesInterface; 486s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 486s # 486s # static void 486s # good_types_default_init (GoodTypesIface *iface) 486s # { 486s # /* GObject properties for D-Bus properties: */ 486s # /** 486s # * GoodTypes:good-property-type: 486s # * 486s # * Represents the D-Bus property "GoodPropertyType". 486s # * 486s # * 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. 486s # */ 486s # g_object_interface_install_property (iface, 486s # 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)); 486s # } 486s # 486s # /** 486s # * good_types_get_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets the value of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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. 486s # * 486s # * 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. 486s # */ 486s # GVariant * 486s # good_types_get_good_property_type (GoodTypes *object) 486s # { 486s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 486s # 486s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 486s # } 486s # 486s # /** 486s # * good_types_dup_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets a copy of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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(). 486s # */ 486s # GVariant * 486s # good_types_dup_good_property_type (GoodTypes *object) 486s # { 486s # GVariant *value; 486s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 486s # return value; 486s # } 486s # 486s # /** 486s # * good_types_set_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * @value: The value to set. 486s # * 486s # * Sets the "GoodPropertyType" D-Bus property to @value. 486s # * 486s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 486s # */ 486s # void 486s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 486s # { 486s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesProxy: 486s # * 486s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesProxyClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesProxy. 486s # */ 486s # 486s # struct _GoodTypesProxyPrivate 486s # { 486s # GData *qdata; 486s # }; 486s # 486s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_ADD_PRIVATE (GoodTypesProxy) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_proxy_finalize (GObject *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # g_datalist_clear (&proxy->priv->qdata); 486s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_proxy_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 486s # if (info->use_gvariant) 486s # { 486s # g_value_set_variant (value, variant); 486s # } 486s # else 486s # { 486s # if (variant != NULL) 486s # g_dbus_gvariant_to_gvalue (variant, value); 486s # } 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 486s # GAsyncResult *res, 486s # gpointer user_data) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info = user_data; 486s # GError *error; 486s # GVariant *_ret; 486s # error = NULL; 486s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 486s # if (!_ret) 486s # { 486s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 486s # info->parent_struct.name, 486s # error->message, g_quark_to_string (error->domain), error->code); 486s # g_error_free (error); 486s # } 486s # else 486s # { 486s # g_variant_unref (_ret); 486s # } 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_dbus_proxy_call (G_DBUS_PROXY (object), 486s # "org.freedesktop.DBus.Properties.Set", 486s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_signal (GDBusProxy *proxy, 486s # const gchar *sender_name G_GNUC_UNUSED, 486s # const gchar *signal_name, 486s # GVariant *parameters) 486s # { 486s # _ExtendedGDBusSignalInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # gsize n; 486s # guint signal_id; 486s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 486s # if (info == NULL) 486s # return; 486s # num_params = g_variant_n_children (parameters); 486s # paramv = g_new0 (GValue, num_params + 1); 486s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[0], proxy); 486s # g_variant_iter_init (&iter, parameters); 486s # n = 1; 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_signal_emitv (paramv, signal_id, 0, NULL); 486s # for (n = 0; n < num_params + 1; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 486s # GVariant *changed_properties, 486s # const gchar *const *invalidated_properties) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 486s # guint n; 486s # const gchar *key; 486s # GVariantIter *iter; 486s # _ExtendedGDBusPropertyInfo *info; 486s # g_variant_get (changed_properties, "a{sv}", &iter); 486s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 486s # g_datalist_remove_data (&proxy->priv->qdata, key); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # g_variant_iter_free (iter); 486s # for (n = 0; invalidated_properties[n] != NULL; n++) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 486s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # } 486s # 486s # static GVariant * 486s # good_types_proxy_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # GVariant *variant; 486s # GVariant *value = NULL; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 486s # value = variant; 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_proxy_init (GoodTypesProxy *proxy) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # proxy->priv = good_types_proxy_get_instance_private (proxy); 486s # #else 486s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 486s # #endif 486s # 486s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 486s # } 486s # 486s # static void 486s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusProxyClass *proxy_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_proxy_finalize; 486s # gobject_class->get_property = good_types_proxy_get_property; 486s # gobject_class->set_property = good_types_proxy_set_property; 486s # 486s # proxy_class = G_DBUS_PROXY_CLASS (klass); 486s # proxy_class->g_signal = good_types_proxy_g_signal; 486s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_proxy_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_sync: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_sync ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /** 486s # * good_types_proxy_new_for_bus: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new_for_bus ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new_for_bus(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_sync: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_sync ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesSkeleton: 486s # * 486s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesSkeletonClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesSkeleton. 486s # */ 486s # 486s # struct _GoodTypesSkeletonPrivate 486s # { 486s # GValue *properties; 486s # GList *changed_properties; 486s # GSource *changed_properties_idle_source; 486s # GMainContext *context; 486s # GMutex lock; 486s # }; 486s # 486s # static void 486s # _good_types_skeleton_handle_method_call ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name, 486s # const gchar *method_name, 486s # GVariant *parameters, 486s # GDBusMethodInvocation *invocation, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # _ExtendedGDBusMethodInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # guint num_extra; 486s # gsize n; 486s # guint signal_id; 486s # GValue return_value = G_VALUE_INIT; 486s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 486s # g_assert (info != NULL); 486s # num_params = g_variant_n_children (parameters); 486s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 486s # n = 0; 486s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[n++], skeleton); 486s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 486s # g_value_set_object (¶mv[n++], invocation); 486s # if (info->pass_fdlist) 486s # { 486s # #ifdef G_OS_UNIX 486s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 486s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 486s # #else 486s # g_assert_not_reached (); 486s # #endif 486s # } 486s # g_variant_iter_init (&iter, parameters); 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_value_init (&return_value, G_TYPE_BOOLEAN); 486s # g_signal_emitv (paramv, signal_id, 0, &return_value); 486s # if (!g_value_get_boolean (&return_value)) 486s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 486s # g_value_unset (&return_value); 486s # for (n = 0; n < num_params + num_extra; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static GVariant * 486s # _good_types_skeleton_handle_get_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # GVariant *ret; 486s # ret = NULL; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # g_value_init (&value, pspec->value_type); 486s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_value_unset (&value); 486s # } 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _good_types_skeleton_handle_set_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GVariant *variant, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # gboolean ret; 486s # ret = FALSE; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # if (info->use_gvariant) 486s # g_value_set_variant (&value, variant); 486s # else 486s # g_dbus_gvariant_to_gvalue (variant, &value); 486s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # g_value_unset (&value); 486s # ret = TRUE; 486s # } 486s # return ret; 486s # } 486s # 486s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 486s # { 486s # _good_types_skeleton_handle_method_call, 486s # _good_types_skeleton_handle_get_property, 486s # _good_types_skeleton_handle_set_property, 486s # {NULL} 486s # }; 486s # 486s # static GDBusInterfaceInfo * 486s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return good_types_interface_info (); 486s # } 486s # 486s # static GDBusInterfaceVTable * 486s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # 486s # GVariantBuilder builder; 486s # guint n; 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # if (_good_types_interface_info.parent_struct.properties == NULL) 486s # goto out; 486s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 486s # { 486s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 486s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 486s # { 486s # GVariant *value; 486s # 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); 486s # if (value != NULL) 486s # { 486s # g_variant_take_ref (value); 486s # g_variant_builder_add (&builder, "{sv}", info->name, value); 486s # g_variant_unref (value); 486s # } 486s # } 486s # } 486s # out: 486s # return g_variant_builder_end (&builder); 486s # } 486s # 486s # static gboolean _good_types_emit_changed (gpointer user_data); 486s # 486s # static void 486s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # gboolean emit_changed = FALSE; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # { 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # emit_changed = TRUE; 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # 486s # if (emit_changed) 486s # _good_types_emit_changed (skeleton); 486s # } 486s # 486s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_ADD_PRIVATE (GoodTypesSkeleton) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_skeleton_finalize (GObject *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # guint n; 486s # for (n = 0; n < 1; n++) 486s # g_value_unset (&skeleton->priv->properties[n]); 486s # g_free (skeleton->priv->properties); 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # g_main_context_unref (skeleton->priv->context); 486s # g_mutex_clear (&skeleton->priv->lock); 486s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static gboolean 486s # _good_types_emit_changed (gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GList *l; 486s # GVariantBuilder builder; 486s # GVariantBuilder invalidated_builder; 486s # guint num_changes; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 486s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *cp = l->data; 486s # GVariant *variant; 486s # const GValue *cur_value; 486s # 486s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 486s # if (!_g_value_equal (cur_value, &cp->orig_value)) 486s # { 486s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 486s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 486s # g_variant_unref (variant); 486s # num_changes++; 486s # } 486s # } 486s # if (num_changes > 0) 486s # { 486s # GList *connections, *ll; 486s # GVariant *signal_variant; 486s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 486s # &builder, &invalidated_builder)); 486s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 486s # for (ll = connections; ll != NULL; ll = ll->next) 486s # { 486s # GDBusConnection *connection = ll->data; 486s # 486s # g_dbus_connection_emit_signal (connection, 486s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 486s # "org.freedesktop.DBus.Properties", 486s # "PropertiesChanged", 486s # signal_variant, 486s # NULL); 486s # } 486s # g_variant_unref (signal_variant); 486s # g_list_free_full (connections, g_object_unref); 486s # } 486s # else 486s # { 486s # g_variant_builder_clear (&builder); 486s # g_variant_builder_clear (&invalidated_builder); 486s # } 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # skeleton->priv->changed_properties = NULL; 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return FALSE; 486s # } 486s # 486s # static void 486s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 486s # { 486s # ChangedProperty *cp; 486s # GList *l; 486s # cp = NULL; 486s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *i_cp = l->data; 486s # if (i_cp->info == info) 486s # { 486s # cp = i_cp; 486s # break; 486s # } 486s # } 486s # if (cp == NULL) 486s # { 486s # cp = g_new0 (ChangedProperty, 1); 486s # cp->prop_id = prop_id; 486s # cp->info = info; 486s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 486s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 486s # g_value_copy (orig_value, &cp->orig_value); 486s # } 486s # } 486s # 486s # static void 486s # good_types_skeleton_notify (GObject *object, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties != NULL && 486s # skeleton->priv->changed_properties_idle_source == NULL) 486s # { 486s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 486s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 486s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 486s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 486s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 486s # g_source_unref (skeleton->priv->changed_properties_idle_source); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static void 486s # good_types_skeleton_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_object_freeze_notify (object); 486s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 486s # { 486s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 486s # info->emits_changed_signal) 486s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 486s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 486s # g_object_notify_by_pspec (object, pspec); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # g_object_thaw_notify (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 486s # #else 486s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 486s # #endif 486s # 486s # g_mutex_init (&skeleton->priv->lock); 486s # skeleton->priv->context = g_main_context_ref_thread_default (); 486s # skeleton->priv->properties = g_new0 (GValue, 1); 486s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # GVariant *value; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusInterfaceSkeletonClass *skeleton_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_skeleton_finalize; 486s # gobject_class->get_property = good_types_skeleton_get_property; 486s # gobject_class->set_property = good_types_skeleton_set_property; 486s # gobject_class->notify = good_types_skeleton_notify; 486s # 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 486s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 486s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 486s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 486s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_skeleton_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_skeleton_new: 486s # * 486s # * Creates a skeleton object for the D-Bus interface GoodTypes. 486s # * 486s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 486s # */ 486s # GoodTypes * 486s # good_types_skeleton_new (void) 486s # { 486s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 486s # } 486s # /tmp/tmpo8k10lv4/tmpvoqw1uy0.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpvoqw1uy0.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 486s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 486s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 486s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 486s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 486s # #endif /* !G_ENABLE_DEBUG */ 486s # 486s # typedef struct 486s # { 486s # GDBusArgInfo parent_struct; 486s # gboolean use_gvariant; 486s # } _ExtendedGDBusArgInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusMethodInfo parent_struct; 486s # const gchar *signal_name; 486s # gboolean pass_fdlist; 486s # } _ExtendedGDBusMethodInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusSignalInfo parent_struct; 486s # const gchar *signal_name; 486s # } _ExtendedGDBusSignalInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusPropertyInfo parent_struct; 486s # const gchar *hyphen_name; 486s # guint use_gvariant : 1; 486s # guint emits_changed_signal : 1; 486s # } _ExtendedGDBusPropertyInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusInterfaceInfo parent_struct; 486s # const gchar *hyphen_name; 486s # } _ExtendedGDBusInterfaceInfo; 486s # 486s # typedef struct 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # guint prop_id; 486s # GValue orig_value; /* the value before the change */ 486s # } ChangedProperty; 486s # 486s # static void 486s # _changed_property_free (ChangedProperty *data) 486s # { 486s # g_value_unset (&data->orig_value); 486s # g_free (data); 486s # } 486s # 486s # static gboolean 486s # _g_strv_equal0 (gchar **a, gchar **b) 486s # { 486s # gboolean ret = FALSE; 486s # guint n; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # if (g_strv_length (a) != g_strv_length (b)) 486s # goto out; 486s # for (n = 0; a[n] != NULL; n++) 486s # if (g_strcmp0 (a[n], b[n]) != 0) 486s # goto out; 486s # ret = TRUE; 486s # out: 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _g_variant_equal0 (GVariant *a, GVariant *b) 486s # { 486s # gboolean ret = FALSE; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # ret = g_variant_equal (a, b); 486s # out: 486s # return ret; 486s # } 486s # 486s # G_GNUC_UNUSED static gboolean 486s # _g_value_equal (const GValue *a, const GValue *b) 486s # { 486s # gboolean ret = FALSE; 486s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 486s # switch (G_VALUE_TYPE (a)) 486s # { 486s # case G_TYPE_BOOLEAN: 486s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 486s # break; 486s # case G_TYPE_UCHAR: 486s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 486s # break; 486s # case G_TYPE_INT: 486s # ret = (g_value_get_int (a) == g_value_get_int (b)); 486s # break; 486s # case G_TYPE_UINT: 486s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 486s # break; 486s # case G_TYPE_INT64: 486s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 486s # break; 486s # case G_TYPE_UINT64: 486s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 486s # break; 486s # case G_TYPE_DOUBLE: 486s # { 486s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 486s # gdouble da = g_value_get_double (a); 486s # gdouble db = g_value_get_double (b); 486s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 486s # } 486s # break; 486s # case G_TYPE_STRING: 486s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 486s # break; 486s # case G_TYPE_VARIANT: 486s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 486s # break; 486s # default: 486s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 486s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 486s # else 486s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 486s # break; 486s # } 486s # return ret; 486s # } 486s # 486s # /* ------------------------------------------------------------------------ 486s # * Code for interface GoodTypes 486s # * ------------------------------------------------------------------------ 486s # */ 486s # 486s # /** 486s # * SECTION:GoodTypes 486s # * @title: GoodTypes 486s # * @short_description: Generated C code for the GoodTypes D-Bus interface 486s # * 486s # * This section contains code for working with the GoodTypes D-Bus interface in C. 486s # */ 486s # 486s # /* ---- Introspection data for GoodTypes ---- */ 486s # 486s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodPropertyType", 486s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 486s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 486s # NULL 486s # }, 486s # "good-property-type", 486s # FALSE, 486s # TRUE 486s # }; 486s # 486s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 486s # { 486s # &_good_types_property_info_good_property_type.parent_struct, 486s # NULL 486s # }; 486s # 486s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodTypes", 486s # NULL, 486s # NULL, 486s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 486s # NULL 486s # }, 486s # "good-types", 486s # }; 486s # 486s # 486s # /** 486s # * good_types_interface_info: 486s # * 486s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 486s # * 486s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 486s # */ 486s # GDBusInterfaceInfo * 486s # good_types_interface_info (void) 486s # { 486s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 486s # } 486s # 486s # /** 486s # * good_types_override_properties: 486s # * @klass: The class structure for a #GObject derived class. 486s # * @property_id_begin: The property id to assign to the first overridden property. 486s # * 486s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 486s # * The properties are overridden in the order they are defined. 486s # * 486s # * Returns: The last property id. 486s # */ 486s # guint 486s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 486s # { 486s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 486s # return property_id_begin - 1; 486s # } 486s # 486s # 486s # 486s # /** 486s # * GoodTypes: 486s # * 486s # * Abstract interface type for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # /** 486s # * GoodTypesIface: 486s # * @parent_iface: The parent interface. 486s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 486s # * 486s # * Virtual table for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # typedef GoodTypesIface GoodTypesInterface; 486s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 486s # 486s # static void 486s # good_types_default_init (GoodTypesIface *iface) 486s # { 486s # /* GObject properties for D-Bus properties: */ 486s # /** 486s # * GoodTypes:good-property-type: 486s # * 486s # * Represents the D-Bus property "GoodPropertyType". 486s # * 486s # * 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. 486s # */ 486s # g_object_interface_install_property (iface, 486s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 486s # } 486s # 486s # /** 486s # * good_types_get_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets the value of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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. 486s # * 486s # * 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. 486s # */ 486s # GVariant * 486s # good_types_get_good_property_type (GoodTypes *object) 486s # { 486s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 486s # 486s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 486s # } 486s # 486s # /** 486s # * good_types_dup_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets a copy of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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(). 486s # */ 486s # GVariant * 486s # good_types_dup_good_property_type (GoodTypes *object) 486s # { 486s # GVariant *value; 486s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 486s # return value; 486s # } 486s # 486s # /** 486s # * good_types_set_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * @value: The value to set. 486s # * 486s # * Sets the "GoodPropertyType" D-Bus property to @value. 486s # * 486s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 486s # */ 486s # void 486s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 486s # { 486s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesProxy: 486s # * 486s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesProxyClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesProxy. 486s # */ 486s # 486s # struct _GoodTypesProxyPrivate 486s # { 486s # GData *qdata; 486s # }; 486s # 486s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_ADD_PRIVATE (GoodTypesProxy) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_proxy_finalize (GObject *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # g_datalist_clear (&proxy->priv->qdata); 486s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_proxy_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 486s # if (info->use_gvariant) 486s # { 486s # g_value_set_variant (value, variant); 486s # } 486s # else 486s # { 486s # if (variant != NULL) 486s # g_dbus_gvariant_to_gvalue (variant, value); 486s # } 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 486s # GAsyncResult *res, 486s # gpointer user_data) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info = user_data; 486s # GError *error; 486s # GVariant *_ret; 486s # error = NULL; 486s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 486s # if (!_ret) 486s # { 486s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 486s # info->parent_struct.name, 486s # error->message, g_quark_to_string (error->domain), error->code); 486s # g_error_free (error); 486s # } 486s # else 486s # { 486s # g_variant_unref (_ret); 486s # } 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_dbus_proxy_call (G_DBUS_PROXY (object), 486s # "org.freedesktop.DBus.Properties.Set", 486s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_signal (GDBusProxy *proxy, 486s # const gchar *sender_name G_GNUC_UNUSED, 486s # const gchar *signal_name, 486s # GVariant *parameters) 486s # { 486s # _ExtendedGDBusSignalInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # gsize n; 486s # guint signal_id; 486s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 486s # if (info == NULL) 486s # return; 486s # num_params = g_variant_n_children (parameters); 486s # paramv = g_new0 (GValue, num_params + 1); 486s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[0], proxy); 486s # g_variant_iter_init (&iter, parameters); 486s # n = 1; 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_signal_emitv (paramv, signal_id, 0, NULL); 486s # for (n = 0; n < num_params + 1; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 486s # GVariant *changed_properties, 486s # const gchar *const *invalidated_properties) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 486s # guint n; 486s # const gchar *key; 486s # GVariantIter *iter; 486s # _ExtendedGDBusPropertyInfo *info; 486s # g_variant_get (changed_properties, "a{sv}", &iter); 486s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 486s # g_datalist_remove_data (&proxy->priv->qdata, key); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # g_variant_iter_free (iter); 486s # for (n = 0; invalidated_properties[n] != NULL; n++) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 486s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # } 486s # 486s # static GVariant * 486s # good_types_proxy_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # GVariant *variant; 486s # GVariant *value = NULL; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 486s # value = variant; 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_proxy_init (GoodTypesProxy *proxy) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # proxy->priv = good_types_proxy_get_instance_private (proxy); 486s # #else 486s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 486s # #endif 486s # 486s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 486s # } 486s # 486s # static void 486s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusProxyClass *proxy_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_proxy_finalize; 486s # gobject_class->get_property = good_types_proxy_get_property; 486s # gobject_class->set_property = good_types_proxy_set_property; 486s # 486s # proxy_class = G_DBUS_PROXY_CLASS (klass); 486s # proxy_class->g_signal = good_types_proxy_g_signal; 486s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_proxy_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_sync: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_sync ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /** 486s # * good_types_proxy_new_for_bus: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new_for_bus ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new_for_bus(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_sync: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_sync ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesSkeleton: 486s # * 486s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesSkeletonClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesSkeleton. 486s # */ 486s # 486s # struct _GoodTypesSkeletonPrivate 486s # { 486s # GValue *properties; 486s # GList *changed_properties; 486s # GSource *changed_properties_idle_source; 486s # GMainContext *context; 486s # GMutex lock; 486s # }; 486s # 486s # static void 486s # _good_types_skeleton_handle_method_call ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name, 486s # const gchar *method_name, 486s # GVariant *parameters, 486s # GDBusMethodInvocation *invocation, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # _ExtendedGDBusMethodInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # guint num_extra; 486s # gsize n; 486s # guint signal_id; 486s # GValue return_value = G_VALUE_INIT; 486s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 486s # g_assert (info != NULL); 486s # num_params = g_variant_n_children (parameters); 486s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 486s # n = 0; 486s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[n++], skeleton); 486s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 486s # g_value_set_object (¶mv[n++], invocation); 486s # if (info->pass_fdlist) 486s # { 486s # #ifdef G_OS_UNIX 486s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 486s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 486s # #else 486s # g_assert_not_reached (); 486s # #endif 486s # } 486s # g_variant_iter_init (&iter, parameters); 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_value_init (&return_value, G_TYPE_BOOLEAN); 486s # g_signal_emitv (paramv, signal_id, 0, &return_value); 486s # if (!g_value_get_boolean (&return_value)) 486s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 486s # g_value_unset (&return_value); 486s # for (n = 0; n < num_params + num_extra; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static GVariant * 486s # _good_types_skeleton_handle_get_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # GVariant *ret; 486s # ret = NULL; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # g_value_init (&value, pspec->value_type); 486s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_value_unset (&value); 486s # } 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _good_types_skeleton_handle_set_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GVariant *variant, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # gboolean ret; 486s # ret = FALSE; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # if (info->use_gvariant) 486s # g_value_set_variant (&value, variant); 486s # else 486s # g_dbus_gvariant_to_gvalue (variant, &value); 486s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # g_value_unset (&value); 486s # ret = TRUE; 486s # } 486s # return ret; 486s # } 486s # 486s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 486s # { 486s # _good_types_skeleton_handle_method_call, 486s # _good_types_skeleton_handle_get_property, 486s # _good_types_skeleton_handle_set_property, 486s # {NULL} 486s # }; 486s # 486s # static GDBusInterfaceInfo * 486s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return good_types_interface_info (); 486s # } 486s # 486s # static GDBusInterfaceVTable * 486s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # 486s # GVariantBuilder builder; 486s # guint n; 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # if (_good_types_interface_info.parent_struct.properties == NULL) 486s # goto out; 486s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 486s # { 486s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 486s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 486s # { 486s # GVariant *value; 486s # 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); 486s # if (value != NULL) 486s # { 486s # g_variant_take_ref (value); 486s # g_variant_builder_add (&builder, "{sv}", info->name, value); 486s # g_variant_unref (value); 486s # } 486s # } 486s # } 486s # out: 486s # return g_variant_builder_end (&builder); 486s # } 486s # 486s # static gboolean _good_types_emit_changed (gpointer user_data); 486s # 486s # static void 486s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # gboolean emit_changed = FALSE; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # { 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # emit_changed = TRUE; 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # 486s # if (emit_changed) 486s # _good_types_emit_changed (skeleton); 486s # } 486s # 486s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_ADD_PRIVATE (GoodTypesSkeleton) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_skeleton_finalize (GObject *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # guint n; 486s # for (n = 0; n < 1; n++) 486s # g_value_unset (&skeleton->priv->properties[n]); 486s # g_free (skeleton->priv->properties); 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # g_main_context_unref (skeleton->priv->context); 486s # g_mutex_clear (&skeleton->priv->lock); 486s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static gboolean 486s # _good_types_emit_changed (gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GList *l; 486s # GVariantBuilder builder; 486s # GVariantBuilder invalidated_builder; 486s # guint num_changes; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 486s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *cp = l->data; 486s # GVariant *variant; 486s # const GValue *cur_value; 486s # 486s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 486s # if (!_g_value_equal (cur_value, &cp->orig_value)) 486s # { 486s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 486s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 486s # g_variant_unref (variant); 486s # num_changes++; 486s # } 486s # } 486s # if (num_changes > 0) 486s # { 486s # GList *connections, *ll; 486s # GVariant *signal_variant; 486s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 486s # &builder, &invalidated_builder)); 486s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 486s # for (ll = connections; ll != NULL; ll = ll->next) 486s # { 486s # GDBusConnection *connection = ll->data; 486s # 486s # g_dbus_connection_emit_signal (connection, 486s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 486s # "org.freedesktop.DBus.Properties", 486s # "PropertiesChanged", 486s # signal_variant, 486s # NULL); 486s # } 486s # g_variant_unref (signal_variant); 486s # g_list_free_full (connections, g_object_unref); 486s # } 486s # else 486s # { 486s # g_variant_builder_clear (&builder); 486s # g_variant_builder_clear (&invalidated_builder); 486s # } 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # skeleton->priv->changed_properties = NULL; 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return FALSE; 486s # } 486s # 486s # static void 486s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 486s # { 486s # ChangedProperty *cp; 486s # GList *l; 486s # cp = NULL; 486s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *i_cp = l->data; 486s # if (i_cp->info == info) 486s # { 486s # cp = i_cp; 486s # break; 486s # } 486s # } 486s # if (cp == NULL) 486s # { 486s # cp = g_new0 (ChangedProperty, 1); 486s # cp->prop_id = prop_id; 486s # cp->info = info; 486s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 486s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 486s # g_value_copy (orig_value, &cp->orig_value); 486s # } 486s # } 486s # 486s # static void 486s # good_types_skeleton_notify (GObject *object, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties != NULL && 486s # skeleton->priv->changed_properties_idle_source == NULL) 486s # { 486s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 486s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 486s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 486s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 486s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 486s # g_source_unref (skeleton->priv->changed_properties_idle_source); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static void 486s # good_types_skeleton_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_object_freeze_notify (object); 486s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 486s # { 486s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 486s # info->emits_changed_signal) 486s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 486s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 486s # g_object_notify_by_pspec (object, pspec); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # g_object_thaw_notify (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 486s # #else 486s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 486s # #endif 486s # 486s # g_mutex_init (&skeleton->priv->lock); 486s # skeleton->priv->context = g_main_context_ref_thread_default (); 486s # skeleton->priv->properties = g_new0 (GValue, 1); 486s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # GVariant *value; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusInterfaceSkeletonClass *skeleton_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_skeleton_finalize; 486s # gobject_class->get_property = good_types_skeleton_get_property; 486s # gobject_class->set_property = good_types_skeleton_set_property; 486s # gobject_class->notify = good_types_skeleton_notify; 486s # 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 486s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 486s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 486s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 486s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_skeleton_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_skeleton_new: 486s # * 486s # * Creates a skeleton object for the D-Bus interface GoodTypes. 486s # * 486s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 486s # */ 486s # GoodTypes * 486s # good_types_skeleton_new (void) 486s # { 486s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 486s # } 486s # /tmp/tmpo8k10lv4/tmpku6if3hw.xml: 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8k10lv4/tmpku6if3hw.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 486s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 486s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 486s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 486s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 486s # #endif /* !G_ENABLE_DEBUG */ 486s # 486s # typedef struct 486s # { 486s # GDBusArgInfo parent_struct; 486s # gboolean use_gvariant; 486s # } _ExtendedGDBusArgInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusMethodInfo parent_struct; 486s # const gchar *signal_name; 486s # gboolean pass_fdlist; 486s # } _ExtendedGDBusMethodInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusSignalInfo parent_struct; 486s # const gchar *signal_name; 486s # } _ExtendedGDBusSignalInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusPropertyInfo parent_struct; 486s # const gchar *hyphen_name; 486s # guint use_gvariant : 1; 486s # guint emits_changed_signal : 1; 486s # } _ExtendedGDBusPropertyInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusInterfaceInfo parent_struct; 486s # const gchar *hyphen_name; 486s # } _ExtendedGDBusInterfaceInfo; 486s # 486s # typedef struct 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # guint prop_id; 486s # GValue orig_value; /* the value before the change */ 486s # } ChangedProperty; 486s # 486s # static void 486s # _changed_property_free (ChangedProperty *data) 486s # { 486s # g_value_unset (&data->orig_value); 486s # g_free (data); 486s # } 486s # 486s # static gboolean 486s # _g_strv_equal0 (gchar **a, gchar **b) 486s # { 486s # gboolean ret = FALSE; 486s # guint n; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # if (g_strv_length (a) != g_strv_length (b)) 486s # goto out; 486s # for (n = 0; a[n] != NULL; n++) 486s # if (g_strcmp0 (a[n], b[n]) != 0) 486s # goto out; 486s # ret = TRUE; 486s # out: 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _g_variant_equal0 (GVariant *a, GVariant *b) 486s # { 486s # gboolean ret = FALSE; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # ret = g_variant_equal (a, b); 486s # out: 486s # return ret; 486s # } 486s # 486s # G_GNUC_UNUSED static gboolean 486s # _g_value_equal (const GValue *a, const GValue *b) 486s # { 486s # gboolean ret = FALSE; 486s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 486s # switch (G_VALUE_TYPE (a)) 486s # { 486s # case G_TYPE_BOOLEAN: 486s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 486s # break; 486s # case G_TYPE_UCHAR: 486s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 486s # break; 486s # case G_TYPE_INT: 486s # ret = (g_value_get_int (a) == g_value_get_int (b)); 486s # break; 486s # case G_TYPE_UINT: 486s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 486s # break; 486s # case G_TYPE_INT64: 486s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 486s # break; 486s # case G_TYPE_UINT64: 486s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 486s # break; 486s # case G_TYPE_DOUBLE: 486s # { 486s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 486s # gdouble da = g_value_get_double (a); 486s # gdouble db = g_value_get_double (b); 486s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 486s # } 486s # break; 486s # case G_TYPE_STRING: 486s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 486s # break; 486s # case G_TYPE_VARIANT: 486s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 486s # break; 486s # default: 486s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 486s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 486s # else 486s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 486s # break; 486s # } 486s # return ret; 486s # } 486s # 486s # /* ------------------------------------------------------------------------ 486s # * Code for interface GoodTypes 486s # * ------------------------------------------------------------------------ 486s # */ 486s # 486s # /** 486s # * SECTION:GoodTypes 486s # * @title: GoodTypes 486s # * @short_description: Generated C code for the GoodTypes D-Bus interface 486s # * 486s # * This section contains code for working with the GoodTypes D-Bus interface in C. 486s # */ 486s # 486s # /* ---- Introspection data for GoodTypes ---- */ 486s # 486s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodPropertyType", 486s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 486s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 486s # NULL 486s # }, 486s # "good-property-type", 486s # FALSE, 486s # TRUE 486s # }; 486s # 486s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 486s # { 486s # &_good_types_property_info_good_property_type.parent_struct, 486s # NULL 486s # }; 486s # 486s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 486s # { 486s # { 486s # -1, 486s # (gchar *) "GoodTypes", 486s # NULL, 486s # NULL, 486s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 486s # NULL 486s # }, 486s # "good-types", 486s # }; 486s # 486s # 486s # /** 486s # * good_types_interface_info: 486s # * 486s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 486s # * 486s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 486s # */ 486s # GDBusInterfaceInfo * 486s # good_types_interface_info (void) 486s # { 486s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 486s # } 486s # 486s # /** 486s # * good_types_override_properties: 486s # * @klass: The class structure for a #GObject derived class. 486s # * @property_id_begin: The property id to assign to the first overridden property. 486s # * 486s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 486s # * The properties are overridden in the order they are defined. 486s # * 486s # * Returns: The last property id. 486s # */ 486s # guint 486s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 486s # { 486s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 486s # return property_id_begin - 1; 486s # } 486s # 486s # 486s # 486s # /** 486s # * GoodTypes: 486s # * 486s # * Abstract interface type for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # /** 486s # * GoodTypesIface: 486s # * @parent_iface: The parent interface. 486s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 486s # * 486s # * Virtual table for the D-Bus interface GoodTypes. 486s # */ 486s # 486s # typedef GoodTypesIface GoodTypesInterface; 486s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 486s # 486s # static void 486s # good_types_default_init (GoodTypesIface *iface) 486s # { 486s # /* GObject properties for D-Bus properties: */ 486s # /** 486s # * GoodTypes:good-property-type: 486s # * 486s # * Represents the D-Bus property "GoodPropertyType". 486s # * 486s # * 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. 486s # */ 486s # g_object_interface_install_property (iface, 486s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 486s # } 486s # 486s # /** 486s # * good_types_get_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets the value of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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. 486s # * 486s # * 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. 486s # */ 486s # GVariant * 486s # good_types_get_good_property_type (GoodTypes *object) 486s # { 486s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 486s # 486s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 486s # } 486s # 486s # /** 486s # * good_types_dup_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * 486s # * Gets a copy of the "GoodPropertyType" D-Bus property. 486s # * 486s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 486s # * 486s # * 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(). 486s # */ 486s # GVariant * 486s # good_types_dup_good_property_type (GoodTypes *object) 486s # { 486s # GVariant *value; 486s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 486s # return value; 486s # } 486s # 486s # /** 486s # * good_types_set_good_property_type: (skip) 486s # * @object: A GoodTypes. 486s # * @value: The value to set. 486s # * 486s # * Sets the "GoodPropertyType" D-Bus property to @value. 486s # * 486s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 486s # */ 486s # void 486s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 486s # { 486s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesProxy: 486s # * 486s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesProxyClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesProxy. 486s # */ 486s # 486s # struct _GoodTypesProxyPrivate 486s # { 486s # GData *qdata; 486s # }; 486s # 486s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_ADD_PRIVATE (GoodTypesProxy) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_proxy_finalize (GObject *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # g_datalist_clear (&proxy->priv->qdata); 486s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_proxy_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 486s # if (info->use_gvariant) 486s # { 486s # g_value_set_variant (value, variant); 486s # } 486s # else 486s # { 486s # if (variant != NULL) 486s # g_dbus_gvariant_to_gvalue (variant, value); 486s # } 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 486s # GAsyncResult *res, 486s # gpointer user_data) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info = user_data; 486s # GError *error; 486s # GVariant *_ret; 486s # error = NULL; 486s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 486s # if (!_ret) 486s # { 486s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 486s # info->parent_struct.name, 486s # error->message, g_quark_to_string (error->domain), error->code); 486s # g_error_free (error); 486s # } 486s # else 486s # { 486s # g_variant_unref (_ret); 486s # } 486s # } 486s # 486s # static void 486s # good_types_proxy_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GVariant *variant; 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_dbus_proxy_call (G_DBUS_PROXY (object), 486s # "org.freedesktop.DBus.Properties.Set", 486s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 486s # g_variant_unref (variant); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_signal (GDBusProxy *proxy, 486s # const gchar *sender_name G_GNUC_UNUSED, 486s # const gchar *signal_name, 486s # GVariant *parameters) 486s # { 486s # _ExtendedGDBusSignalInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # gsize n; 486s # guint signal_id; 486s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 486s # if (info == NULL) 486s # return; 486s # num_params = g_variant_n_children (parameters); 486s # paramv = g_new0 (GValue, num_params + 1); 486s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[0], proxy); 486s # g_variant_iter_init (&iter, parameters); 486s # n = 1; 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_signal_emitv (paramv, signal_id, 0, NULL); 486s # for (n = 0; n < num_params + 1; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static void 486s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 486s # GVariant *changed_properties, 486s # const gchar *const *invalidated_properties) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 486s # guint n; 486s # const gchar *key; 486s # GVariantIter *iter; 486s # _ExtendedGDBusPropertyInfo *info; 486s # g_variant_get (changed_properties, "a{sv}", &iter); 486s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 486s # g_datalist_remove_data (&proxy->priv->qdata, key); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # g_variant_iter_free (iter); 486s # for (n = 0; invalidated_properties[n] != NULL; n++) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 486s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # } 486s # 486s # static GVariant * 486s # good_types_proxy_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 486s # GVariant *variant; 486s # GVariant *value = NULL; 486s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 486s # value = variant; 486s # if (variant != NULL) 486s # g_variant_unref (variant); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_proxy_init (GoodTypesProxy *proxy) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # proxy->priv = good_types_proxy_get_instance_private (proxy); 486s # #else 486s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 486s # #endif 486s # 486s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 486s # } 486s # 486s # static void 486s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusProxyClass *proxy_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_proxy_finalize; 486s # gobject_class->get_property = good_types_proxy_get_property; 486s # gobject_class->set_property = good_types_proxy_set_property; 486s # 486s # proxy_class = G_DBUS_PROXY_CLASS (klass); 486s # proxy_class->g_signal = good_types_proxy_g_signal; 486s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_proxy_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_sync: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_sync ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /** 486s # * good_types_proxy_new_for_bus: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 486s # * 486s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # good_types_proxy_new_for_bus ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with good_types_proxy_new_for_bus(). 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * good_types_proxy_new_for_bus_sync: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # GoodTypes * 486s # good_types_proxy_new_for_bus_sync ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return GOOD_TYPES (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * GoodTypesSkeleton: 486s # * 486s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * GoodTypesSkeletonClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for GoodTypesSkeleton. 486s # */ 486s # 486s # struct _GoodTypesSkeletonPrivate 486s # { 486s # GValue *properties; 486s # GList *changed_properties; 486s # GSource *changed_properties_idle_source; 486s # GMainContext *context; 486s # GMutex lock; 486s # }; 486s # 486s # static void 486s # _good_types_skeleton_handle_method_call ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name, 486s # const gchar *method_name, 486s # GVariant *parameters, 486s # GDBusMethodInvocation *invocation, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # _ExtendedGDBusMethodInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # guint num_extra; 486s # gsize n; 486s # guint signal_id; 486s # GValue return_value = G_VALUE_INIT; 486s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 486s # g_assert (info != NULL); 486s # num_params = g_variant_n_children (parameters); 486s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 486s # n = 0; 486s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 486s # g_value_set_object (¶mv[n++], skeleton); 486s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 486s # g_value_set_object (¶mv[n++], invocation); 486s # if (info->pass_fdlist) 486s # { 486s # #ifdef G_OS_UNIX 486s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 486s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 486s # #else 486s # g_assert_not_reached (); 486s # #endif 486s # } 486s # g_variant_iter_init (&iter, parameters); 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 486s # g_value_init (&return_value, G_TYPE_BOOLEAN); 486s # g_signal_emitv (paramv, signal_id, 0, &return_value); 486s # if (!g_value_get_boolean (&return_value)) 486s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 486s # g_value_unset (&return_value); 486s # for (n = 0; n < num_params + num_extra; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static GVariant * 486s # _good_types_skeleton_handle_get_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # GVariant *ret; 486s # ret = NULL; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # g_value_init (&value, pspec->value_type); 486s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_value_unset (&value); 486s # } 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _good_types_skeleton_handle_set_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GVariant *variant, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # gboolean ret; 486s # ret = FALSE; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # if (info->use_gvariant) 486s # g_value_set_variant (&value, variant); 486s # else 486s # g_dbus_gvariant_to_gvalue (variant, &value); 486s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # g_value_unset (&value); 486s # ret = TRUE; 486s # } 486s # return ret; 486s # } 486s # 486s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 486s # { 486s # _good_types_skeleton_handle_method_call, 486s # _good_types_skeleton_handle_get_property, 486s # _good_types_skeleton_handle_set_property, 486s # {NULL} 486s # }; 486s # 486s # static GDBusInterfaceInfo * 486s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return good_types_interface_info (); 486s # } 486s # 486s # static GDBusInterfaceVTable * 486s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # 486s # GVariantBuilder builder; 486s # guint n; 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # if (_good_types_interface_info.parent_struct.properties == NULL) 486s # goto out; 486s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 486s # { 486s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 486s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 486s # { 486s # GVariant *value; 486s # 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); 486s # if (value != NULL) 486s # { 486s # g_variant_take_ref (value); 486s # g_variant_builder_add (&builder, "{sv}", info->name, value); 486s # g_variant_unref (value); 486s # } 486s # } 486s # } 486s # out: 486s # return g_variant_builder_end (&builder); 486s # } 486s # 486s # static gboolean _good_types_emit_changed (gpointer user_data); 486s # 486s # static void 486s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 486s # gboolean emit_changed = FALSE; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # { 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # emit_changed = TRUE; 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # 486s # if (emit_changed) 486s # _good_types_emit_changed (skeleton); 486s # } 486s # 486s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_ADD_PRIVATE (GoodTypesSkeleton) 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 486s # 486s # #endif 486s # static void 486s # good_types_skeleton_finalize (GObject *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # guint n; 486s # for (n = 0; n < 1; n++) 486s # g_value_unset (&skeleton->priv->properties[n]); 486s # g_free (skeleton->priv->properties); 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # g_main_context_unref (skeleton->priv->context); 486s # g_mutex_clear (&skeleton->priv->lock); 486s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_get_property (GObject *object, 486s # guint prop_id, 486s # GValue *value, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static gboolean 486s # _good_types_emit_changed (gpointer user_data) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 486s # GList *l; 486s # GVariantBuilder builder; 486s # GVariantBuilder invalidated_builder; 486s # guint num_changes; 486s # 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 486s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *cp = l->data; 486s # GVariant *variant; 486s # const GValue *cur_value; 486s # 486s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 486s # if (!_g_value_equal (cur_value, &cp->orig_value)) 486s # { 486s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 486s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 486s # g_variant_unref (variant); 486s # num_changes++; 486s # } 486s # } 486s # if (num_changes > 0) 486s # { 486s # GList *connections, *ll; 486s # GVariant *signal_variant; 486s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 486s # &builder, &invalidated_builder)); 486s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 486s # for (ll = connections; ll != NULL; ll = ll->next) 486s # { 486s # GDBusConnection *connection = ll->data; 486s # 486s # g_dbus_connection_emit_signal (connection, 486s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 486s # "org.freedesktop.DBus.Properties", 486s # "PropertiesChanged", 486s # signal_variant, 486s # NULL); 486s # } 486s # g_variant_unref (signal_variant); 486s # g_list_free_full (connections, g_object_unref); 486s # } 486s # else 486s # { 486s # g_variant_builder_clear (&builder); 486s # g_variant_builder_clear (&invalidated_builder); 486s # } 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # skeleton->priv->changed_properties = NULL; 486s # skeleton->priv->changed_properties_idle_source = NULL; 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return FALSE; 486s # } 486s # 486s # static void 486s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 486s # { 486s # ChangedProperty *cp; 486s # GList *l; 486s # cp = NULL; 486s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 486s # { 486s # ChangedProperty *i_cp = l->data; 486s # if (i_cp->info == info) 486s # { 486s # cp = i_cp; 486s # break; 486s # } 486s # } 486s # if (cp == NULL) 486s # { 486s # cp = g_new0 (ChangedProperty, 1); 486s # cp->prop_id = prop_id; 486s # cp->info = info; 486s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 486s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 486s # g_value_copy (orig_value, &cp->orig_value); 486s # } 486s # } 486s # 486s # static void 486s # good_types_skeleton_notify (GObject *object, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_mutex_lock (&skeleton->priv->lock); 486s # if (skeleton->priv->changed_properties != NULL && 486s # skeleton->priv->changed_properties_idle_source == NULL) 486s # { 486s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 486s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 486s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 486s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 486s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 486s # g_source_unref (skeleton->priv->changed_properties_idle_source); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # } 486s # 486s # static void 486s # good_types_skeleton_set_property (GObject *object, 486s # guint prop_id, 486s # const GValue *value, 486s # GParamSpec *pspec) 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # g_assert (prop_id != 0 && prop_id - 1 < 1); 486s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # g_object_freeze_notify (object); 486s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 486s # { 486s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 486s # info->emits_changed_signal) 486s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 486s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 486s # g_object_notify_by_pspec (object, pspec); 486s # } 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # g_object_thaw_notify (object); 486s # } 486s # 486s # static void 486s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 486s # #else 486s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 486s # #endif 486s # 486s # g_mutex_init (&skeleton->priv->lock); 486s # skeleton->priv->context = g_main_context_ref_thread_default (); 486s # skeleton->priv->properties = g_new0 (GValue, 1); 486s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 486s # } 486s # 486s # static GVariant * 486s # good_types_skeleton_get_good_property_type (GoodTypes *object) 486s # { 486s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 486s # GVariant *value; 486s # g_mutex_lock (&skeleton->priv->lock); 486s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 486s # g_mutex_unlock (&skeleton->priv->lock); 486s # return value; 486s # } 486s # 486s # static void 486s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusInterfaceSkeletonClass *skeleton_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = good_types_skeleton_finalize; 486s # gobject_class->get_property = good_types_skeleton_get_property; 486s # gobject_class->set_property = good_types_skeleton_set_property; 486s # gobject_class->notify = good_types_skeleton_notify; 486s # 486s # 486s # good_types_override_properties (gobject_class, 1); 486s # 486s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 486s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 486s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 486s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 486s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # good_types_skeleton_iface_init (GoodTypesIface *iface) 486s # { 486s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 486s # } 486s # 486s # /** 486s # * good_types_skeleton_new: 486s # * 486s # * Creates a skeleton object for the D-Bus interface GoodTypes. 486s # * 486s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 486s # */ 486s # GoodTypes * 486s # good_types_skeleton_new (void) 486s # { 486s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 486s # } 486s ok 3 __main__.TestCodegen.test_empty_interface_body 486s # tmpdir: /tmp/tmp31sg7miw 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmp31sg7miw/tmpeny07hqs.xml: 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp31sg7miw/tmpeny07hqs.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 486s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 486s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 486s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 486s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 486s # #endif /* !G_ENABLE_DEBUG */ 486s # 486s # typedef struct 486s # { 486s # GDBusArgInfo parent_struct; 486s # gboolean use_gvariant; 486s # } _ExtendedGDBusArgInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusMethodInfo parent_struct; 486s # const gchar *signal_name; 486s # gboolean pass_fdlist; 486s # } _ExtendedGDBusMethodInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusSignalInfo parent_struct; 486s # const gchar *signal_name; 486s # } _ExtendedGDBusSignalInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusPropertyInfo parent_struct; 486s # const gchar *hyphen_name; 486s # guint use_gvariant : 1; 486s # guint emits_changed_signal : 1; 486s # } _ExtendedGDBusPropertyInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusInterfaceInfo parent_struct; 486s # const gchar *hyphen_name; 486s # } _ExtendedGDBusInterfaceInfo; 486s # 486s # typedef struct 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # guint prop_id; 486s # GValue orig_value; /* the value before the change */ 486s # } ChangedProperty; 486s # 486s # static void 486s # _changed_property_free (ChangedProperty *data) 486s # { 486s # g_value_unset (&data->orig_value); 486s # g_free (data); 486s # } 486s # 486s # static gboolean 486s # _g_strv_equal0 (gchar **a, gchar **b) 486s # { 486s # gboolean ret = FALSE; 486s # guint n; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # if (g_strv_length (a) != g_strv_length (b)) 486s # goto out; 486s # for (n = 0; a[n] != NULL; n++) 486s # if (g_strcmp0 (a[n], b[n]) != 0) 486s # goto out; 486s # ret = TRUE; 486s # out: 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _g_variant_equal0 (GVariant *a, GVariant *b) 486s # { 486s # gboolean ret = FALSE; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # ret = g_variant_equal (a, b); 486s # out: 486s # return ret; 486s # } 486s # 486s # G_GNUC_UNUSED static gboolean 486s # _g_value_equal (const GValue *a, const GValue *b) 486s # { 486s # gboolean ret = FALSE; 486s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 486s # switch (G_VALUE_TYPE (a)) 486s # { 486s # case G_TYPE_BOOLEAN: 486s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 486s # break; 486s # case G_TYPE_UCHAR: 486s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 486s # break; 486s # case G_TYPE_INT: 486s # ret = (g_value_get_int (a) == g_value_get_int (b)); 486s # break; 486s # case G_TYPE_UINT: 486s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 486s # break; 486s # case G_TYPE_INT64: 486s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 486s # break; 486s # case G_TYPE_UINT64: 486s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 486s # break; 486s # case G_TYPE_DOUBLE: 486s # { 486s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 486s # gdouble da = g_value_get_double (a); 486s # gdouble db = g_value_get_double (b); 486s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 486s # } 486s # break; 486s # case G_TYPE_STRING: 486s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 486s # break; 486s # case G_TYPE_VARIANT: 486s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 486s # break; 486s # default: 486s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 486s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 486s # else 486s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 486s # break; 486s # } 486s # return ret; 486s # } 486s ok 4 __main__.TestCodegen.test_empty_interface_header 486s # tmpdir: /tmp/tmp9v2zbj71 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmp9v2zbj71/tmp8w7h6sp1.xml: 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9v2zbj71/tmp8w7h6sp1.xml', '--output', '-', '--header'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifndef __STDOUT__ 486s # #define __STDOUT__ 486s # 486s # #include 486s # 486s # G_BEGIN_DECLS 486s # 486s # 486s # G_END_DECLS 486s # 486s # #endif /* __STDOUT__ */ 486s ok 5 __main__.TestCodegen.test_empty_interface_info_body 486s # tmpdir: /tmp/tmpfjx5lta6 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmpfjx5lta6/tmp4vtlyunm.xml: 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfjx5lta6/tmp4vtlyunm.xml', '--output', '-', '--interface-info-body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s ok 6 __main__.TestCodegen.test_empty_interface_info_header 486s # tmpdir: /tmp/tmpbu2ddabe 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmpbu2ddabe/tmp34z9etum.xml: 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbu2ddabe/tmp34z9etum.xml', '--output', '-', '--interface-info-header'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifndef __STDOUT__ 486s # #define __STDOUT__ 486s # 486s # #include 486s # 486s # G_BEGIN_DECLS 486s # 486s # 486s # G_END_DECLS 486s # 486s # #endif /* __STDOUT__ */ 486s ok 7 __main__.TestCodegen.test_generate_docbook 486s # tmpdir: /tmp/tmp93hfzak7 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmp93hfzak7/tmp8ukku7gs.xml: 486s # 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp93hfzak7/tmp8ukku7gs.xml', '--generate-docbook', 'test'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: 486s ok 8 __main__.TestCodegen.test_generate_md 486s # tmpdir: /tmp/tmpfijghwjo 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmpfijghwjo/tmpue9y7ivu.xml: 486s # 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfijghwjo/tmpue9y7ivu.xml', '--generate-md', 'test'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: 486s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 486s # tmpdir: /tmp/tmp1qwwh6uh 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmp1qwwh6uh/tmpb0okx5p_.xml: 486s # 486s # 486s # 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1qwwh6uh/tmpb0okx5p_.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 486s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 486s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 486s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 486s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 486s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 486s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 486s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 486s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 486s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 486s # #endif /* !G_ENABLE_DEBUG */ 486s # 486s # typedef struct 486s # { 486s # GDBusArgInfo parent_struct; 486s # gboolean use_gvariant; 486s # } _ExtendedGDBusArgInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusMethodInfo parent_struct; 486s # const gchar *signal_name; 486s # gboolean pass_fdlist; 486s # } _ExtendedGDBusMethodInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusSignalInfo parent_struct; 486s # const gchar *signal_name; 486s # } _ExtendedGDBusSignalInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusPropertyInfo parent_struct; 486s # const gchar *hyphen_name; 486s # guint use_gvariant : 1; 486s # guint emits_changed_signal : 1; 486s # } _ExtendedGDBusPropertyInfo; 486s # 486s # typedef struct 486s # { 486s # GDBusInterfaceInfo parent_struct; 486s # const gchar *hyphen_name; 486s # } _ExtendedGDBusInterfaceInfo; 486s # 486s # typedef struct 486s # { 486s # const _ExtendedGDBusPropertyInfo *info; 486s # guint prop_id; 486s # GValue orig_value; /* the value before the change */ 486s # } ChangedProperty; 486s # 486s # static void 486s # _changed_property_free (ChangedProperty *data) 486s # { 486s # g_value_unset (&data->orig_value); 486s # g_free (data); 486s # } 486s # 486s # static gboolean 486s # _g_strv_equal0 (gchar **a, gchar **b) 486s # { 486s # gboolean ret = FALSE; 486s # guint n; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # if (g_strv_length (a) != g_strv_length (b)) 486s # goto out; 486s # for (n = 0; a[n] != NULL; n++) 486s # if (g_strcmp0 (a[n], b[n]) != 0) 486s # goto out; 486s # ret = TRUE; 486s # out: 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _g_variant_equal0 (GVariant *a, GVariant *b) 486s # { 486s # gboolean ret = FALSE; 486s # if (a == NULL && b == NULL) 486s # { 486s # ret = TRUE; 486s # goto out; 486s # } 486s # if (a == NULL || b == NULL) 486s # goto out; 486s # ret = g_variant_equal (a, b); 486s # out: 486s # return ret; 486s # } 486s # 486s # G_GNUC_UNUSED static gboolean 486s # _g_value_equal (const GValue *a, const GValue *b) 486s # { 486s # gboolean ret = FALSE; 486s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 486s # switch (G_VALUE_TYPE (a)) 486s # { 486s # case G_TYPE_BOOLEAN: 486s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 486s # break; 486s # case G_TYPE_UCHAR: 486s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 486s # break; 486s # case G_TYPE_INT: 486s # ret = (g_value_get_int (a) == g_value_get_int (b)); 486s # break; 486s # case G_TYPE_UINT: 486s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 486s # break; 486s # case G_TYPE_INT64: 486s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 486s # break; 486s # case G_TYPE_UINT64: 486s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 486s # break; 486s # case G_TYPE_DOUBLE: 486s # { 486s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 486s # gdouble da = g_value_get_double (a); 486s # gdouble db = g_value_get_double (b); 486s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 486s # } 486s # break; 486s # case G_TYPE_STRING: 486s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 486s # break; 486s # case G_TYPE_VARIANT: 486s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 486s # break; 486s # default: 486s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 486s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 486s # else 486s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 486s # break; 486s # } 486s # return ret; 486s # } 486s # 486s # static void 486s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 486s # GClosure *closure, 486s # GValue *return_value, 486s # unsigned int n_param_values, 486s # const GValue *param_values, 486s # void *invocation_hint G_GNUC_UNUSED, 486s # void *marshal_data) 486s # { 486s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 486s # (void *data1, 486s # GDBusMethodInvocation *arg_method_invocation, 486s # void *data2); 486s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 486s # GCClosure *cc = (GCClosure*) closure; 486s # void *data1, *data2; 486s # gboolean v_return; 486s # 486s # g_return_if_fail (return_value != NULL); 486s # g_return_if_fail (n_param_values == 2); 486s # 486s # if (G_CCLOSURE_SWAP_DATA (closure)) 486s # { 486s # data1 = closure->data; 486s # data2 = g_value_peek_pointer (param_values + 0); 486s # } 486s # else 486s # { 486s # data1 = g_value_peek_pointer (param_values + 0); 486s # data2 = closure->data; 486s # } 486s # 486s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 486s # (marshal_data ? marshal_data : cc->callback); 486s # 486s # v_return = 486s # callback (data1, 486s # g_marshal_value_peek_object (param_values + 1), 486s # data2); 486s # 486s # g_value_set_boolean (return_value, v_return); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ 486s # * Code for interface org.project.CallableIface 486s # * ------------------------------------------------------------------------ 486s # */ 486s # 486s # /** 486s # * SECTION:OrgProjectCallableIface 486s # * @title: OrgProjectCallableIface 486s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 486s # * 486s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 486s # */ 486s # 486s # /* ---- Introspection data for org.project.CallableIface ---- */ 486s # 486s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 486s # { 486s # { 486s # -1, 486s # (gchar *) "SimpleMethod", 486s # NULL, 486s # NULL, 486s # NULL 486s # }, 486s # "handle-simple-method", 486s # FALSE 486s # }; 486s # 486s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 486s # { 486s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 486s # NULL 486s # }; 486s # 486s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 486s # { 486s # { 486s # -1, 486s # (gchar *) "org.project.CallableIface", 486s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 486s # NULL, 486s # NULL, 486s # NULL 486s # }, 486s # "org-project-callable-iface", 486s # }; 486s # 486s # 486s # /** 486s # * org_project_callable_iface_interface_info: 486s # * 486s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 486s # * 486s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 486s # */ 486s # GDBusInterfaceInfo * 486s # org_project_callable_iface_interface_info (void) 486s # { 486s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_override_properties: 486s # * @klass: The class structure for a #GObject derived class. 486s # * @property_id_begin: The property id to assign to the first overridden property. 486s # * 486s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 486s # * The properties are overridden in the order they are defined. 486s # * 486s # * Returns: The last property id. 486s # */ 486s # guint 486s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 486s # { 486s # return property_id_begin - 1; 486s # } 486s # 486s # 486s # inline static void 486s # org_project_callable_iface_method_marshal_simple_method ( 486s # GClosure *closure, 486s # GValue *return_value, 486s # unsigned int n_param_values, 486s # const GValue *param_values, 486s # void *invocation_hint, 486s # void *marshal_data) 486s # { 486s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 486s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 486s # } 486s # 486s # 486s # /** 486s # * OrgProjectCallableIface: 486s # * 486s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 486s # */ 486s # 486s # /** 486s # * OrgProjectCallableIfaceIface: 486s # * @parent_iface: The parent interface. 486s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 486s # * 486s # * Virtual table for the D-Bus interface org.project.CallableIface. 486s # */ 486s # 486s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 486s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 486s # 486s # static void 486s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 486s # { 486s # /* GObject signals for incoming D-Bus method calls: */ 486s # /** 486s # * OrgProjectCallableIface::handle-simple-method: 486s # * @object: A #OrgProjectCallableIface. 486s # * @invocation: A #GDBusMethodInvocation. 486s # * 486s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 486s # * 486s # * 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. 486s # * 486s # * 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. 486s # */ 486s # g_signal_new ("handle-simple-method", 486s # G_TYPE_FROM_INTERFACE (iface), 486s # G_SIGNAL_RUN_LAST, 486s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 486s # g_signal_accumulator_true_handled, 486s # NULL, 486s # org_project_callable_iface_method_marshal_simple_method, 486s # G_TYPE_BOOLEAN, 486s # 1, 486s # G_TYPE_DBUS_METHOD_INVOCATION); 486s # 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_call_simple_method: 486s # * @proxy: A #OrgProjectCallableIfaceProxy. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 486s # * 486s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 486s # */ 486s # void 486s # org_project_callable_iface_call_simple_method ( 486s # OrgProjectCallableIface *proxy, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 486s # "SimpleMethod", 486s # g_variant_new ("()"), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # cancellable, 486s # callback, 486s # user_data); 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_call_simple_method_finish: 486s # * @proxy: A #OrgProjectCallableIfaceProxy. 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 486s # * @error: Return location for error or %NULL. 486s # * 486s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 486s # * 486s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 486s # */ 486s # gboolean 486s # org_project_callable_iface_call_simple_method_finish ( 486s # OrgProjectCallableIface *proxy, 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GVariant *_ret; 486s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 486s # if (_ret == NULL) 486s # goto _out; 486s # g_variant_get (_ret, 486s # "()"); 486s # g_variant_unref (_ret); 486s # _out: 486s # return _ret != NULL; 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_call_simple_method_sync: 486s # * @proxy: A #OrgProjectCallableIfaceProxy. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL. 486s # * 486s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 486s # * 486s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 486s # */ 486s # gboolean 486s # org_project_callable_iface_call_simple_method_sync ( 486s # OrgProjectCallableIface *proxy, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GVariant *_ret; 486s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 486s # "SimpleMethod", 486s # g_variant_new ("()"), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # cancellable, 486s # error); 486s # if (_ret == NULL) 486s # goto _out; 486s # g_variant_get (_ret, 486s # "()"); 486s # g_variant_unref (_ret); 486s # _out: 486s # return _ret != NULL; 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_complete_simple_method: 486s # * @object: A #OrgProjectCallableIface. 486s # * @invocation: (transfer full): A #GDBusMethodInvocation. 486s # * 486s # * 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. 486s # * 486s # * This method will free @invocation, you cannot use it afterwards. 486s # */ 486s # void 486s # org_project_callable_iface_complete_simple_method ( 486s # OrgProjectCallableIface *object G_GNUC_UNUSED, 486s # GDBusMethodInvocation *invocation) 486s # { 486s # g_dbus_method_invocation_return_value (invocation, 486s # g_variant_new ("()")); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * OrgProjectCallableIfaceProxy: 486s # * 486s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * OrgProjectCallableIfaceProxyClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for #OrgProjectCallableIfaceProxy. 486s # */ 486s # 486s # struct _OrgProjectCallableIfaceProxyPrivate 486s # { 486s # GData *qdata; 486s # }; 486s # 486s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 486s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 486s # 486s # #endif 486s # static void 486s # org_project_callable_iface_proxy_finalize (GObject *object) 486s # { 486s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 486s # g_datalist_clear (&proxy->priv->qdata); 486s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 486s # guint prop_id G_GNUC_UNUSED, 486s # GValue *value G_GNUC_UNUSED, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 486s # guint prop_id G_GNUC_UNUSED, 486s # const GValue *value G_GNUC_UNUSED, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 486s # const gchar *sender_name G_GNUC_UNUSED, 486s # const gchar *signal_name, 486s # GVariant *parameters) 486s # { 486s # _ExtendedGDBusSignalInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # gsize n; 486s # guint signal_id; 486s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 486s # if (info == NULL) 486s # return; 486s # num_params = g_variant_n_children (parameters); 486s # paramv = g_new0 (GValue, num_params + 1); 486s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 486s # g_value_set_object (¶mv[0], proxy); 486s # g_variant_iter_init (&iter, parameters); 486s # n = 1; 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 486s # g_signal_emitv (paramv, signal_id, 0, NULL); 486s # for (n = 0; n < num_params + 1; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 486s # GVariant *changed_properties, 486s # const gchar *const *invalidated_properties) 486s # { 486s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 486s # guint n; 486s # const gchar *key; 486s # GVariantIter *iter; 486s # _ExtendedGDBusPropertyInfo *info; 486s # g_variant_get (changed_properties, "a{sv}", &iter); 486s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 486s # g_datalist_remove_data (&proxy->priv->qdata, key); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # g_variant_iter_free (iter); 486s # for (n = 0; invalidated_properties[n] != NULL; n++) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 486s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 486s # #else 486s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 486s # #endif 486s # 486s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusProxyClass *proxy_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 486s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 486s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 486s # 486s # proxy_class = G_DBUS_PROXY_CLASS (klass); 486s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 486s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 486s # * 486s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # org_project_callable_iface_proxy_new ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 486s # * 486s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectCallableIface * 486s # org_project_callable_iface_proxy_new_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return ORG_PROJECT_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new_sync: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectCallableIface * 486s # org_project_callable_iface_proxy_new_sync ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return ORG_PROJECT_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new_for_bus: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 486s # * 486s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # org_project_callable_iface_proxy_new_for_bus ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new_for_bus_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 486s # * 486s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectCallableIface * 486s # org_project_callable_iface_proxy_new_for_bus_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return ORG_PROJECT_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_proxy_new_for_bus_sync: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectCallableIface * 486s # org_project_callable_iface_proxy_new_for_bus_sync ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return ORG_PROJECT_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * OrgProjectCallableIfaceSkeleton: 486s # * 486s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * OrgProjectCallableIfaceSkeletonClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for #OrgProjectCallableIfaceSkeleton. 486s # */ 486s # 486s # struct _OrgProjectCallableIfaceSkeletonPrivate 486s # { 486s # GValue *properties; 486s # GList *changed_properties; 486s # GSource *changed_properties_idle_source; 486s # GMainContext *context; 486s # GMutex lock; 486s # }; 486s # 486s # static void 486s # _org_project_callable_iface_skeleton_handle_method_call ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name, 486s # const gchar *method_name, 486s # GVariant *parameters, 486s # GDBusMethodInvocation *invocation, 486s # gpointer user_data) 486s # { 486s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 486s # _ExtendedGDBusMethodInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # guint num_extra; 486s # gsize n; 486s # guint signal_id; 486s # GValue return_value = G_VALUE_INIT; 486s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 486s # g_assert (info != NULL); 486s # num_params = g_variant_n_children (parameters); 486s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 486s # n = 0; 486s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 486s # g_value_set_object (¶mv[n++], skeleton); 486s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 486s # g_value_set_object (¶mv[n++], invocation); 486s # if (info->pass_fdlist) 486s # { 486s # #ifdef G_OS_UNIX 486s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 486s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 486s # #else 486s # g_assert_not_reached (); 486s # #endif 486s # } 486s # g_variant_iter_init (&iter, parameters); 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 486s # g_value_init (&return_value, G_TYPE_BOOLEAN); 486s # g_signal_emitv (paramv, signal_id, 0, &return_value); 486s # if (!g_value_get_boolean (&return_value)) 486s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 486s # g_value_unset (&return_value); 486s # for (n = 0; n < num_params + num_extra; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static GVariant * 486s # _org_project_callable_iface_skeleton_handle_get_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # GVariant *ret; 486s # ret = NULL; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # g_value_init (&value, pspec->value_type); 486s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_value_unset (&value); 486s # } 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _org_project_callable_iface_skeleton_handle_set_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GVariant *variant, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # gboolean ret; 486s # ret = FALSE; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # if (info->use_gvariant) 486s # g_value_set_variant (&value, variant); 486s # else 486s # g_dbus_gvariant_to_gvalue (variant, &value); 486s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # g_value_unset (&value); 486s # ret = TRUE; 486s # } 486s # return ret; 486s # } 486s # 486s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 486s # { 486s # _org_project_callable_iface_skeleton_handle_method_call, 486s # _org_project_callable_iface_skeleton_handle_get_property, 486s # _org_project_callable_iface_skeleton_handle_set_property, 486s # {NULL} 486s # }; 486s # 486s # static GDBusInterfaceInfo * 486s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return org_project_callable_iface_interface_info (); 486s # } 486s # 486s # static GDBusInterfaceVTable * 486s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 486s # } 486s # 486s # static GVariant * 486s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 486s # 486s # GVariantBuilder builder; 486s # guint n; 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 486s # goto out; 486s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 486s # { 486s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 486s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 486s # { 486s # GVariant *value; 486s # 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); 486s # if (value != NULL) 486s # { 486s # g_variant_take_ref (value); 486s # g_variant_builder_add (&builder, "{sv}", info->name, value); 486s # g_variant_unref (value); 486s # } 486s # } 486s # } 486s # out: 486s # return g_variant_builder_end (&builder); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 486s # 486s # #endif 486s # static void 486s # org_project_callable_iface_skeleton_finalize (GObject *object) 486s # { 486s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # g_main_context_unref (skeleton->priv->context); 486s # g_mutex_clear (&skeleton->priv->lock); 486s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 486s # #else 486s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 486s # #endif 486s # 486s # g_mutex_init (&skeleton->priv->lock); 486s # skeleton->priv->context = g_main_context_ref_thread_default (); 486s # } 486s # 486s # static void 486s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusInterfaceSkeletonClass *skeleton_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 486s # 486s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 486s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 486s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 486s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 486s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # /** 486s # * org_project_callable_iface_skeleton_new: 486s # * 486s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 486s # * 486s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 486s # */ 486s # OrgProjectCallableIface * 486s # org_project_callable_iface_skeleton_new (void) 486s # { 486s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ 486s # * Code for interface org.project.OtherCallableIface 486s # * ------------------------------------------------------------------------ 486s # */ 486s # 486s # /** 486s # * SECTION:OrgProjectOtherCallableIface 486s # * @title: OrgProjectOtherCallableIface 486s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 486s # * 486s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 486s # */ 486s # 486s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 486s # 486s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 486s # { 486s # { 486s # -1, 486s # (gchar *) "SimpleMethod", 486s # NULL, 486s # NULL, 486s # NULL 486s # }, 486s # "handle-simple-method", 486s # FALSE 486s # }; 486s # 486s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 486s # { 486s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 486s # NULL 486s # }; 486s # 486s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 486s # { 486s # { 486s # -1, 486s # (gchar *) "org.project.OtherCallableIface", 486s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 486s # NULL, 486s # NULL, 486s # NULL 486s # }, 486s # "org-project-other-callable-iface", 486s # }; 486s # 486s # 486s # /** 486s # * org_project_other_callable_iface_interface_info: 486s # * 486s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 486s # * 486s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 486s # */ 486s # GDBusInterfaceInfo * 486s # org_project_other_callable_iface_interface_info (void) 486s # { 486s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_override_properties: 486s # * @klass: The class structure for a #GObject derived class. 486s # * @property_id_begin: The property id to assign to the first overridden property. 486s # * 486s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 486s # * The properties are overridden in the order they are defined. 486s # * 486s # * Returns: The last property id. 486s # */ 486s # guint 486s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 486s # { 486s # return property_id_begin - 1; 486s # } 486s # 486s # 486s # inline static void 486s # org_project_other_callable_iface_method_marshal_simple_method ( 486s # GClosure *closure, 486s # GValue *return_value, 486s # unsigned int n_param_values, 486s # const GValue *param_values, 486s # void *invocation_hint, 486s # void *marshal_data) 486s # { 486s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 486s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 486s # } 486s # 486s # 486s # /** 486s # * OrgProjectOtherCallableIface: 486s # * 486s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 486s # */ 486s # 486s # /** 486s # * OrgProjectOtherCallableIfaceIface: 486s # * @parent_iface: The parent interface. 486s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 486s # * 486s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 486s # */ 486s # 486s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 486s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 486s # 486s # static void 486s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 486s # { 486s # /* GObject signals for incoming D-Bus method calls: */ 486s # /** 486s # * OrgProjectOtherCallableIface::handle-simple-method: 486s # * @object: A #OrgProjectOtherCallableIface. 486s # * @invocation: A #GDBusMethodInvocation. 486s # * 486s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 486s # * 486s # * 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. 486s # * 486s # * 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. 486s # */ 486s # g_signal_new ("handle-simple-method", 486s # G_TYPE_FROM_INTERFACE (iface), 486s # G_SIGNAL_RUN_LAST, 486s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 486s # g_signal_accumulator_true_handled, 486s # NULL, 486s # org_project_other_callable_iface_method_marshal_simple_method, 486s # G_TYPE_BOOLEAN, 486s # 1, 486s # G_TYPE_DBUS_METHOD_INVOCATION); 486s # 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_call_simple_method: 486s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 486s # * 486s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 486s # */ 486s # void 486s # org_project_other_callable_iface_call_simple_method ( 486s # OrgProjectOtherCallableIface *proxy, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 486s # "SimpleMethod", 486s # g_variant_new ("()"), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # cancellable, 486s # callback, 486s # user_data); 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_call_simple_method_finish: 486s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 486s # * @error: Return location for error or %NULL. 486s # * 486s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 486s # * 486s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 486s # */ 486s # gboolean 486s # org_project_other_callable_iface_call_simple_method_finish ( 486s # OrgProjectOtherCallableIface *proxy, 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GVariant *_ret; 486s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 486s # if (_ret == NULL) 486s # goto _out; 486s # g_variant_get (_ret, 486s # "()"); 486s # g_variant_unref (_ret); 486s # _out: 486s # return _ret != NULL; 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_call_simple_method_sync: 486s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL. 486s # * 486s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 486s # * 486s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 486s # */ 486s # gboolean 486s # org_project_other_callable_iface_call_simple_method_sync ( 486s # OrgProjectOtherCallableIface *proxy, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GVariant *_ret; 486s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 486s # "SimpleMethod", 486s # g_variant_new ("()"), 486s # G_DBUS_CALL_FLAGS_NONE, 486s # -1, 486s # cancellable, 486s # error); 486s # if (_ret == NULL) 486s # goto _out; 486s # g_variant_get (_ret, 486s # "()"); 486s # g_variant_unref (_ret); 486s # _out: 486s # return _ret != NULL; 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_complete_simple_method: 486s # * @object: A #OrgProjectOtherCallableIface. 486s # * @invocation: (transfer full): A #GDBusMethodInvocation. 486s # * 486s # * 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. 486s # * 486s # * This method will free @invocation, you cannot use it afterwards. 486s # */ 486s # void 486s # org_project_other_callable_iface_complete_simple_method ( 486s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 486s # GDBusMethodInvocation *invocation) 486s # { 486s # g_dbus_method_invocation_return_value (invocation, 486s # g_variant_new ("()")); 486s # } 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * OrgProjectOtherCallableIfaceProxy: 486s # * 486s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * OrgProjectOtherCallableIfaceProxyClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 486s # */ 486s # 486s # struct _OrgProjectOtherCallableIfaceProxyPrivate 486s # { 486s # GData *qdata; 486s # }; 486s # 486s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 486s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 486s # 486s # #endif 486s # static void 486s # org_project_other_callable_iface_proxy_finalize (GObject *object) 486s # { 486s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 486s # g_datalist_clear (&proxy->priv->qdata); 486s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 486s # guint prop_id G_GNUC_UNUSED, 486s # GValue *value G_GNUC_UNUSED, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 486s # guint prop_id G_GNUC_UNUSED, 486s # const GValue *value G_GNUC_UNUSED, 486s # GParamSpec *pspec G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 486s # const gchar *sender_name G_GNUC_UNUSED, 486s # const gchar *signal_name, 486s # GVariant *parameters) 486s # { 486s # _ExtendedGDBusSignalInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # gsize n; 486s # guint signal_id; 486s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 486s # if (info == NULL) 486s # return; 486s # num_params = g_variant_n_children (parameters); 486s # paramv = g_new0 (GValue, num_params + 1); 486s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 486s # g_value_set_object (¶mv[0], proxy); 486s # g_variant_iter_init (&iter, parameters); 486s # n = 1; 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 486s # g_signal_emitv (paramv, signal_id, 0, NULL); 486s # for (n = 0; n < num_params + 1; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 486s # GVariant *changed_properties, 486s # const gchar *const *invalidated_properties) 486s # { 486s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 486s # guint n; 486s # const gchar *key; 486s # GVariantIter *iter; 486s # _ExtendedGDBusPropertyInfo *info; 486s # g_variant_get (changed_properties, "a{sv}", &iter); 486s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 486s # g_datalist_remove_data (&proxy->priv->qdata, key); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # g_variant_iter_free (iter); 486s # for (n = 0; invalidated_properties[n] != NULL; n++) 486s # { 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 486s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 486s # if (info != NULL) 486s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 486s # } 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 486s # #else 486s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 486s # #endif 486s # 486s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusProxyClass *proxy_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 486s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 486s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 486s # 486s # proxy_class = G_DBUS_PROXY_CLASS (klass); 486s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 486s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 486s # * 486s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # org_project_other_callable_iface_proxy_new ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 486s # * 486s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectOtherCallableIface * 486s # org_project_other_callable_iface_proxy_new_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new_sync: 486s # * @connection: A #GDBusConnection. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectOtherCallableIface * 486s # org_project_other_callable_iface_proxy_new_sync ( 486s # GDBusConnection *connection, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new_for_bus: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 486s # * @user_data: User data to pass to @callback. 486s # * 486s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 486s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 486s # * 486s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 486s # */ 486s # void 486s # org_project_other_callable_iface_proxy_new_for_bus ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GAsyncReadyCallback callback, 486s # gpointer user_data) 486s # { 486s # 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); 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 486s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 486s # * @error: Return location for error or %NULL 486s # * 486s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 486s # * 486s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectOtherCallableIface * 486s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 486s # GAsyncResult *res, 486s # GError **error) 486s # { 486s # GObject *ret; 486s # GObject *source_object; 486s # source_object = g_async_result_get_source_object (res); 486s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 486s # g_object_unref (source_object); 486s # if (ret != NULL) 486s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 486s # * @bus_type: A #GBusType. 486s # * @flags: Flags from the #GDBusProxyFlags enumeration. 486s # * @name: A bus name (well-known or unique). 486s # * @object_path: An object path. 486s # * @cancellable: (nullable): A #GCancellable or %NULL. 486s # * @error: Return location for error or %NULL 486s # * 486s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 486s # * 486s # * The calling thread is blocked until a reply is received. 486s # * 486s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 486s # * 486s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 486s # */ 486s # OrgProjectOtherCallableIface * 486s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 486s # GBusType bus_type, 486s # GDBusProxyFlags flags, 486s # const gchar *name, 486s # const gchar *object_path, 486s # GCancellable *cancellable, 486s # GError **error) 486s # { 486s # GInitable *ret; 486s # 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); 486s # if (ret != NULL) 486s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 486s # else 486s # return NULL; 486s # } 486s # 486s # 486s # /* ------------------------------------------------------------------------ */ 486s # 486s # /** 486s # * OrgProjectOtherCallableIfaceSkeleton: 486s # * 486s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 486s # */ 486s # 486s # /** 486s # * OrgProjectOtherCallableIfaceSkeletonClass: 486s # * @parent_class: The parent class. 486s # * 486s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 486s # */ 486s # 486s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 486s # { 486s # GValue *properties; 486s # GList *changed_properties; 486s # GSource *changed_properties_idle_source; 486s # GMainContext *context; 486s # GMutex lock; 486s # }; 486s # 486s # static void 486s # _org_project_other_callable_iface_skeleton_handle_method_call ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name, 486s # const gchar *method_name, 486s # GVariant *parameters, 486s # GDBusMethodInvocation *invocation, 486s # gpointer user_data) 486s # { 486s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 486s # _ExtendedGDBusMethodInfo *info; 486s # GVariantIter iter; 486s # GVariant *child; 486s # GValue *paramv; 486s # gsize num_params; 486s # guint num_extra; 486s # gsize n; 486s # guint signal_id; 486s # GValue return_value = G_VALUE_INIT; 486s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 486s # g_assert (info != NULL); 486s # num_params = g_variant_n_children (parameters); 486s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 486s # n = 0; 486s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 486s # g_value_set_object (¶mv[n++], skeleton); 486s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 486s # g_value_set_object (¶mv[n++], invocation); 486s # if (info->pass_fdlist) 486s # { 486s # #ifdef G_OS_UNIX 486s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 486s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 486s # #else 486s # g_assert_not_reached (); 486s # #endif 486s # } 486s # g_variant_iter_init (&iter, parameters); 486s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 486s # { 486s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 486s # if (arg_info->use_gvariant) 486s # { 486s # g_value_init (¶mv[n], G_TYPE_VARIANT); 486s # g_value_set_variant (¶mv[n], child); 486s # n++; 486s # } 486s # else 486s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 486s # g_variant_unref (child); 486s # } 486s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 486s # g_value_init (&return_value, G_TYPE_BOOLEAN); 486s # g_signal_emitv (paramv, signal_id, 0, &return_value); 486s # if (!g_value_get_boolean (&return_value)) 486s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 486s # g_value_unset (&return_value); 486s # for (n = 0; n < num_params + num_extra; n++) 486s # g_value_unset (¶mv[n]); 486s # g_free (paramv); 486s # } 486s # 486s # static GVariant * 486s # _org_project_other_callable_iface_skeleton_handle_get_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # GVariant *ret; 486s # ret = NULL; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # g_value_init (&value, pspec->value_type); 486s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 486s # g_value_unset (&value); 486s # } 486s # return ret; 486s # } 486s # 486s # static gboolean 486s # _org_project_other_callable_iface_skeleton_handle_set_property ( 486s # GDBusConnection *connection G_GNUC_UNUSED, 486s # const gchar *sender G_GNUC_UNUSED, 486s # const gchar *object_path G_GNUC_UNUSED, 486s # const gchar *interface_name G_GNUC_UNUSED, 486s # const gchar *property_name, 486s # GVariant *variant, 486s # GError **error, 486s # gpointer user_data) 486s # { 486s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 486s # GValue value = G_VALUE_INIT; 486s # GParamSpec *pspec; 486s # _ExtendedGDBusPropertyInfo *info; 486s # gboolean ret; 486s # ret = FALSE; 486s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 486s # g_assert (info != NULL); 486s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 486s # if (pspec == NULL) 486s # { 486s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 486s # } 486s # else 486s # { 486s # if (info->use_gvariant) 486s # g_value_set_variant (&value, variant); 486s # else 486s # g_dbus_gvariant_to_gvalue (variant, &value); 486s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 486s # g_value_unset (&value); 486s # ret = TRUE; 486s # } 486s # return ret; 486s # } 486s # 486s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 486s # { 486s # _org_project_other_callable_iface_skeleton_handle_method_call, 486s # _org_project_other_callable_iface_skeleton_handle_get_property, 486s # _org_project_other_callable_iface_skeleton_handle_set_property, 486s # {NULL} 486s # }; 486s # 486s # static GDBusInterfaceInfo * 486s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return org_project_other_callable_iface_interface_info (); 486s # } 486s # 486s # static GDBusInterfaceVTable * 486s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 486s # { 486s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 486s # } 486s # 486s # static GVariant * 486s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 486s # { 486s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 486s # 486s # GVariantBuilder builder; 486s # guint n; 486s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 486s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 486s # goto out; 486s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 486s # { 486s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 486s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 486s # { 486s # GVariant *value; 486s # 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); 486s # if (value != NULL) 486s # { 486s # g_variant_take_ref (value); 486s # g_variant_builder_add (&builder, "{sv}", info->name, value); 486s # g_variant_unref (value); 486s # } 486s # } 486s # } 486s # out: 486s # return g_variant_builder_end (&builder); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 486s # 486s # #else 486s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 486s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 486s # 486s # #endif 486s # static void 486s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 486s # { 486s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 486s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 486s # if (skeleton->priv->changed_properties_idle_source != NULL) 486s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 486s # g_main_context_unref (skeleton->priv->context); 486s # g_mutex_clear (&skeleton->priv->lock); 486s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 486s # { 486s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 486s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 486s # #else 486s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 486s # #endif 486s # 486s # g_mutex_init (&skeleton->priv->lock); 486s # skeleton->priv->context = g_main_context_ref_thread_default (); 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 486s # { 486s # GObjectClass *gobject_class; 486s # GDBusInterfaceSkeletonClass *skeleton_class; 486s # 486s # gobject_class = G_OBJECT_CLASS (klass); 486s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 486s # 486s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 486s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 486s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 486s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 486s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 486s # 486s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 486s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 486s # #endif 486s # } 486s # 486s # static void 486s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 486s # { 486s # } 486s # 486s # /** 486s # * org_project_other_callable_iface_skeleton_new: 486s # * 486s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 486s # * 486s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 486s # */ 486s # OrgProjectOtherCallableIface * 486s # org_project_other_callable_iface_skeleton_new (void) 486s # { 486s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 486s # } 486s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 486s # tmpdir: /tmp/tmpiz8nn6uv 486s # codegen: /usr/bin/gdbus-codegen 486s # /tmp/tmpiz8nn6uv/tmpn0wft45t.xml: 486s # 486s # 486s # 486s # 486s # 486s # 486s # 486s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpn0wft45t.xml', '--output', '-', '--body'] 486s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 486s # Output: /* 486s # * This file is generated by gdbus-codegen, do not modify it. 486s # * 486s # * The license of this code is the same as for the D-Bus interface description 486s # * it was derived from. Note that it links to GLib, so must comply with the 486s # * LGPL linking clauses. 486s # */ 486s # 486s # #ifdef HAVE_CONFIG_H 486s # # include "config.h" 486s # #endif 486s # 486s # #include 486s # #ifdef G_OS_UNIX 486s # # include 486s # #endif 486s # 486s # #ifdef G_ENABLE_DEBUG 486s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 486s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 486s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 486s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 486s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 486s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 486s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 486s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 486s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 486s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 486s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 486s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 486s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 486s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 486s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 486s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 486s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 486s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 486s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 486s # #else /* !G_ENABLE_DEBUG */ 486s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 486s # * Do not access GValues directly in your code. Instead, use the 486s # * g_value_get_*() functions 486s # */ 486s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gboolean arg_arg_b, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_boolean (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_b", 487s # (gchar *) "b", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodB", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-b", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_b ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_b: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-b", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_b, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_b: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_b ( 487s # OrgProjectUsefulInterface *proxy, 487s # gboolean arg_arg_b, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodB", 487s # g_variant_new ("(b)", 487s # arg_arg_b), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_b_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_b: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_b_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gboolean arg_arg_b, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodB", 487s # g_variant_new ("(b)", 487s # arg_arg_b), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_b: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_b ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpzqdstg17.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpzqdstg17.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # guchar arg_arg_y, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_uchar (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_y", 487s # (gchar *) "y", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodY", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-y", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_y ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_y: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-y", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_y, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_y: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_y ( 487s # OrgProjectUsefulInterface *proxy, 487s # guchar arg_arg_y, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodY", 487s # g_variant_new ("(y)", 487s # arg_arg_y), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_y_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_y: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_y_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guchar arg_arg_y, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodY", 487s # g_variant_new ("(y)", 487s # arg_arg_y), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_y: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_y ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmppaeaef6i.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmppaeaef6i.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gint16 arg_arg_n, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_int (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_n", 487s # (gchar *) "n", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodN", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-n", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_n ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_n: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-n", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_n, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_n: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_n ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint16 arg_arg_n, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodN", 487s # g_variant_new ("(n)", 487s # arg_arg_n), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_n_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_n: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_n_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint16 arg_arg_n, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodN", 487s # g_variant_new ("(n)", 487s # arg_arg_n), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_n: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_n ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpbxs09m8h.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpbxs09m8h.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # guint16 arg_arg_q, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_uint (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_q", 487s # (gchar *) "q", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodQ", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-q", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_q ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_q: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-q", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_q, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_q: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_q ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint16 arg_arg_q, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodQ", 487s # g_variant_new ("(q)", 487s # arg_arg_q), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_q_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_q: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_q_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint16 arg_arg_q, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodQ", 487s # g_variant_new ("(q)", 487s # arg_arg_q), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_q: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_q ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp2busxq16.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp2busxq16.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gint arg_arg_i, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_int (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_i", 487s # (gchar *) "i", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodI", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-i", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_i ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_i: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-i", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_i, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_i: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_i ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint arg_arg_i, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodI", 487s # g_variant_new ("(i)", 487s # arg_arg_i), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_i_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_i: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_i_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint arg_arg_i, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodI", 487s # g_variant_new ("(i)", 487s # arg_arg_i), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_i: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_i ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp04ro8474.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp04ro8474.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # guint arg_arg_u, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_uint (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_u", 487s # (gchar *) "u", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodU", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-u", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_u ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_u: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-u", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_u, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_u: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_u ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint arg_arg_u, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodU", 487s # g_variant_new ("(u)", 487s # arg_arg_u), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_u_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_u: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_u_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint arg_arg_u, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodU", 487s # g_variant_new ("(u)", 487s # arg_arg_u), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_u: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_u ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpwdi0u047.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpwdi0u047.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gint64 arg_arg_x, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_int64 (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_x", 487s # (gchar *) "x", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodX", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-x", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_x ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_x: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-x", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_x, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_x: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_x ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint64 arg_arg_x, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodX", 487s # g_variant_new ("(x)", 487s # arg_arg_x), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_x_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_x: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_x_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint64 arg_arg_x, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodX", 487s # g_variant_new ("(x)", 487s # arg_arg_x), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_x: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_x ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpoihi4t9c.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpoihi4t9c.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # guint64 arg_arg_t, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_uint64 (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_t", 487s # (gchar *) "t", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodT", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-t", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_t ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_t: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-t", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_t, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_t: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_t ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint64 arg_arg_t, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodT", 487s # g_variant_new ("(t)", 487s # arg_arg_t), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_t_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_t: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_t_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint64 arg_arg_t, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodT", 487s # g_variant_new ("(t)", 487s # arg_arg_t), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_t: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_t ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpeqs30aaq.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpeqs30aaq.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gdouble arg_arg_d, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_double (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_d", 487s # (gchar *) "d", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodD", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-d", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_d ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_d: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-d", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_d, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_d: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_d ( 487s # OrgProjectUsefulInterface *proxy, 487s # gdouble arg_arg_d, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodD", 487s # g_variant_new ("(d)", 487s # arg_arg_d), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_d_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_d: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_d_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gdouble arg_arg_d, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodD", 487s # g_variant_new ("(d)", 487s # arg_arg_d), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_d: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_d ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpp0lkfcgi.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpp0lkfcgi.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *arg_arg_s, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_string (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_s", 487s # (gchar *) "s", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodS", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-s", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_s ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_s: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-s", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_s, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_s: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_s ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_s, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodS", 487s # g_variant_new ("(s)", 487s # arg_arg_s), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_s_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_s: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_s_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_s, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodS", 487s # g_variant_new ("(s)", 487s # arg_arg_s), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_s: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_s ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp_tm0hj5q.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp_tm0hj5q.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *arg_arg_o, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_string (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_o", 487s # (gchar *) "o", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodO", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-o", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_o ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_o: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-o", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_o, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_o: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_o ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_o, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodO", 487s # g_variant_new ("(o)", 487s # arg_arg_o), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_o_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_o: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_o_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_o, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodO", 487s # g_variant_new ("(o)", 487s # arg_arg_o), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_o: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_o ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpzy6d5k8k.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpzy6d5k8k.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *arg_arg_g, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_string (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_g", 487s # (gchar *) "g", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodG", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-g", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_g ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_g: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-g", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_g, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_g: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_g ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_g, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodG", 487s # g_variant_new ("(g)", 487s # arg_arg_g), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_g_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_g: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_g_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_g, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodG", 487s # g_variant_new ("(g)", 487s # arg_arg_g), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_g: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_g ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmplyvxfsex.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmplyvxfsex.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # GVariant *arg_arg_h, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_variant (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_h", 487s # (gchar *) "h", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodH", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-h", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_h ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_h: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-h", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_h, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_h: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_h ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant *arg_arg_h, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodH", 487s # g_variant_new ("(@h)", 487s # arg_arg_h), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_h_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_h: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_h_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant *arg_arg_h, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodH", 487s # g_variant_new ("(@h)", 487s # arg_arg_h), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_h: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_h ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp_v661qs9.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp_v661qs9.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *arg_arg_ay, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_string (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_ay", 487s # (gchar *) "ay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAy", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-ay", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_ay: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-ay", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_ay, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_ay: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_ay ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_ay, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAy", 487s # g_variant_new ("(^ay)", 487s # arg_arg_ay), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ay_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_ay: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ay_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *arg_arg_ay, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAy", 487s # g_variant_new ("(^ay)", 487s # arg_arg_ay), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_ay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_ay ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp_m27ra8g.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp_m27ra8g.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *const *arg_arg_as, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_boxed (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_as", 487s # (gchar *) "as", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAs", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-as", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_as ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_as: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-as", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_as, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_as: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_as ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_as, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAs", 487s # g_variant_new ("(^as)", 487s # arg_arg_as), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_as_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_as: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_as_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_as, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAs", 487s # g_variant_new ("(^as)", 487s # arg_arg_as), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_as: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_as ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpo0ifkpas.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpo0ifkpas.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *const *arg_arg_ao, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_boxed (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_ao", 487s # (gchar *) "ao", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAo", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-ao", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_ao: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-ao", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_ao, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_ao: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_ao ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_ao, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAo", 487s # g_variant_new ("(^ao)", 487s # arg_arg_ao), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ao_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_ao: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ao_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_ao, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAo", 487s # g_variant_new ("(^ao)", 487s # arg_arg_ao), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_ao: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_ao ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmpdvw8ttdj.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmpdvw8ttdj.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # const gchar *const *arg_arg_aay, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_boxed (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_aay", 487s # (gchar *) "aay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAay", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-aay", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_aay: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-aay", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_aay, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_aay: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_aay ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_aay, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAay", 487s # g_variant_new ("(^aay)", 487s # arg_arg_aay), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_aay_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_aay: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_aay_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # const gchar *const *arg_arg_aay, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAay", 487s # g_variant_new ("(^aay)", 487s # arg_arg_aay), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_aay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_aay ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmpiz8nn6uv/tmp8mql2ofj.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiz8nn6uv/tmp8mql2ofj.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # GVariant *arg_arg_asv, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 3); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_variant (param_values + 2), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_asv", 487s # (gchar *) "a{sv}", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAsv", 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-single-arg-method-asv", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_arg_asv: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-asv", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_asv, 487s # G_TYPE_BOOLEAN, 487s # 2, 487s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_asv ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant *arg_arg_asv, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAsv", 487s # g_variant_new ("(@a{sv})", 487s # arg_arg_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_asv_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @arg_arg_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_asv_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant *arg_arg_asv, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAsv", 487s # g_variant_new ("(@a{sv})", 487s # arg_arg_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_asv: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_asv ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # Executing: glib/codegen.py.test 487s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 487s # tmpdir: /tmp/tmp304qs6bf 487s # codegen: /usr/bin/gdbus-codegen 487s # /tmp/tmp304qs6bf/tmp735gjthp.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp735gjthp.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_b", 487s # (gchar *) "b", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodB", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-b", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_b ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-b", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_b, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_b ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodB", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_b_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gboolean *out_arg_b, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(b)", 487s # out_arg_b); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_b_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_b_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gboolean *out_arg_b, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodB", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(b)", 487s # out_arg_b); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_b: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_b: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_b ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # gboolean arg_b) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(b)", 487s # arg_b)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpeed3xtff.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpeed3xtff.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_y", 487s # (gchar *) "y", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodY", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-y", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_y ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-y", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_y, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_y ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodY", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_y_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # guchar *out_arg_y, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(y)", 487s # out_arg_y); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_y_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_y_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guchar *out_arg_y, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodY", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(y)", 487s # out_arg_y); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_y: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_y: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_y ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # guchar arg_y) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(y)", 487s # arg_y)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp419d_qx0.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp419d_qx0.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_n", 487s # (gchar *) "n", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodN", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-n", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_n ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-n", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_n, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_n ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodN", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_n_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint16 *out_arg_n, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(n)", 487s # out_arg_n); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_n_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_n_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint16 *out_arg_n, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodN", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(n)", 487s # out_arg_n); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_n: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_n: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_n ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # gint16 arg_n) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(n)", 487s # arg_n)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp270qe7fy.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp270qe7fy.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_q", 487s # (gchar *) "q", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodQ", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-q", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_q ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-q", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_q, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_q ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodQ", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_q_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint16 *out_arg_q, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(q)", 487s # out_arg_q); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_q_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_q_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint16 *out_arg_q, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodQ", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(q)", 487s # out_arg_q); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_q: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_q: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_q ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # guint16 arg_q) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(q)", 487s # arg_q)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpiwmst8lr.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpiwmst8lr.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_i", 487s # (gchar *) "i", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodI", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-i", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_i ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-i", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_i, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_i ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodI", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_i_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint *out_arg_i, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(i)", 487s # out_arg_i); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_i_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_i_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint *out_arg_i, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodI", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(i)", 487s # out_arg_i); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_i: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_i: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_i ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # gint arg_i) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(i)", 487s # arg_i)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpgnyqfxlv.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpgnyqfxlv.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_u", 487s # (gchar *) "u", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodU", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-u", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_u ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-u", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_u, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_u ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodU", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_u_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint *out_arg_u, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(u)", 487s # out_arg_u); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_u_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_u_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint *out_arg_u, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodU", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(u)", 487s # out_arg_u); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_u: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_u: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_u ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # guint arg_u) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(u)", 487s # arg_u)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpmv1_lc4y.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpmv1_lc4y.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_x", 487s # (gchar *) "x", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodX", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-x", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_x ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-x", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_x, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_x ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodX", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_x_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint64 *out_arg_x, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(x)", 487s # out_arg_x); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_x_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_x_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gint64 *out_arg_x, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodX", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(x)", 487s # out_arg_x); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_x: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_x: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_x ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # gint64 arg_x) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(x)", 487s # arg_x)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpyeoeq7xp.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpyeoeq7xp.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_t", 487s # (gchar *) "t", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodT", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-t", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_t ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-t", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_t, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_t ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodT", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_t_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint64 *out_arg_t, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(t)", 487s # out_arg_t); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_t_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_t_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # guint64 *out_arg_t, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodT", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(t)", 487s # out_arg_t); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_t: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_t: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_t ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # guint64 arg_t) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(t)", 487s # arg_t)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpl22fxrnr.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpl22fxrnr.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_d", 487s # (gchar *) "d", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodD", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-d", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_d ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-d", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_d, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_d ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodD", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_d_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gdouble *out_arg_d, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(d)", 487s # out_arg_d); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_d_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_d_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gdouble *out_arg_d, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodD", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(d)", 487s # out_arg_d); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_d: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_d: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_d ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # gdouble arg_d) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(d)", 487s # arg_d)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpnridmimi.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpnridmimi.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_s", 487s # (gchar *) "s", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodS", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-s", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_s ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-s", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_s, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_s ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodS", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_s_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_s, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(s)", 487s # out_arg_s); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_s_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_s_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_s, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodS", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(s)", 487s # out_arg_s); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_s: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_s: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_s ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *arg_s) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(s)", 487s # arg_s)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpe6_38thz.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpe6_38thz.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_o", 487s # (gchar *) "o", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodO", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-o", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_o ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-o", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_o, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_o ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodO", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_o_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_o, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(o)", 487s # out_arg_o); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_o_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_o_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_o, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodO", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(o)", 487s # out_arg_o); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_o: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_o: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_o ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *arg_o) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(o)", 487s # arg_o)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmprip8mzfm.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmprip8mzfm.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_g", 487s # (gchar *) "g", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodG", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-g", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_g ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-g", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_g, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_g ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodG", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_g_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_g, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(g)", 487s # out_arg_g); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_g_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_g_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_g, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodG", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(g)", 487s # out_arg_g); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_g: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_g: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_g ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *arg_g) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(g)", 487s # arg_g)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp7oxqypj0.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp7oxqypj0.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_h", 487s # (gchar *) "h", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodH", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-h", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_h ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-h", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_h, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_h ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodH", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_h_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant **out_arg_h, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(@h)", 487s # out_arg_h); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_h_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_h_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant **out_arg_h, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodH", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(@h)", 487s # out_arg_h); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_h: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_h: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_h ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # GVariant *arg_h) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(@h)", 487s # arg_h)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp8qaxxpxg.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp8qaxxpxg.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_ay", 487s # (gchar *) "ay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAy", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-ay", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-ay", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_ay, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_ay ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAy", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ay_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_ay, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^ay)", 487s # out_arg_ay); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ay_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ay_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar **out_arg_ay, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAy", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^ay)", 487s # out_arg_ay); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_ay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_ay: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_ay ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *arg_ay) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(^ay)", 487s # arg_ay)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp0jre4t9b.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp0jre4t9b.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_as", 487s # (gchar *) "as", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAs", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-as", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_as ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-as", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_as, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_as ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAs", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_as_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_as, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^as)", 487s # out_arg_as); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_as_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_as_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_as, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAs", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^as)", 487s # out_arg_as); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_as: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_as: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_as ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *const *arg_as) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(^as)", 487s # arg_as)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmp5zc7twzj.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmp5zc7twzj.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_ao", 487s # (gchar *) "ao", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAo", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-ao", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-ao", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_ao, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_ao ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAo", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ao_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_ao, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^ao)", 487s # out_arg_ao); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_ao_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_ao_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_ao, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAo", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^ao)", 487s # out_arg_ao); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_ao: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_ao: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_ao ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *const *arg_ao) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(^ao)", 487s # arg_ao)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpu43d33i0.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpu43d33i0.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_aay", 487s # (gchar *) "aay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAay", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-aay", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-aay", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_aay, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_aay ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAay", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_aay_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_aay, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^aay)", 487s # out_arg_aay); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_aay_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_aay_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # gchar ***out_arg_aay, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAay", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(^aay)", 487s # out_arg_aay); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_aay: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_aay: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_aay ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # const gchar *const *arg_aay) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(^aay)", 487s # arg_aay)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s # /tmp/tmp304qs6bf/tmpmwj6qutr.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp304qs6bf/tmpmwj6qutr.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 2); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.UsefulInterface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectUsefulInterface 487s # * @title: OrgProjectUsefulInterface 487s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "arg_asv", 487s # (gchar *) "a{sv}", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SingleArgMethodAsv", 487s # NULL, 487s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 487s # NULL 487s # }, 487s # "handle-single-arg-method-asv", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 487s # { 487s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.UsefulInterface", 487s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-useful-interface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_useful_interface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_useful_interface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectUsefulInterface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 487s # */ 487s # 487s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * 487s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-single-arg-method-asv", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_useful_interface_method_marshal_single_arg_method_asv, 487s # G_TYPE_BOOLEAN, 487s # 1, 487s # G_TYPE_DBUS_METHOD_INVOCATION); 487s # 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_useful_interface_call_single_arg_method_asv ( 487s # OrgProjectUsefulInterface *proxy, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAsv", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv_finish: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_asv_finish ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant **out_arg_asv, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(@a{sv})", 487s # out_arg_asv); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_call_single_arg_method_asv_sync: 487s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 487s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_useful_interface_call_single_arg_method_asv_sync ( 487s # OrgProjectUsefulInterface *proxy, 487s # GVariant **out_arg_asv, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SingleArgMethodAsv", 487s # g_variant_new ("()"), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "(@a{sv})", 487s # out_arg_asv); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_complete_single_arg_method_asv: 487s # * @object: A #OrgProjectUsefulInterface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * @arg_asv: Parameter to return. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_useful_interface_complete_single_arg_method_asv ( 487s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation, 487s # GVariant *arg_asv) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("(@a{sv})", 487s # arg_asv)); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxy: 487s # * 487s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 487s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 487s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_useful_interface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_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); 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeleton: 487s # * 487s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectUsefulInterfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_useful_interface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_useful_interface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # g_value_init (&value, pspec->value_type); 487s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 487s # g_value_unset (&value); 487s # } 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _org_project_useful_interface_skeleton_handle_set_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GVariant *variant, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # gboolean ret; 487s # ret = FALSE; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 487s # else 487s # { 487s # if (info->use_gvariant) 487s # g_value_set_variant (&value, variant); 487s # else 487s # g_dbus_gvariant_to_gvalue (variant, &value); 487s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 487s # g_value_unset (&value); 487s # ret = TRUE; 487s # } 487s # return ret; 487s # } 487s # 487s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 487s # { 487s # _org_project_useful_interface_skeleton_handle_method_call, 487s # _org_project_useful_interface_skeleton_handle_get_property, 487s # _org_project_useful_interface_skeleton_handle_set_property, 487s # {NULL} 487s # }; 487s # 487s # static GDBusInterfaceInfo * 487s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return org_project_useful_interface_interface_info (); 487s # } 487s # 487s # static GDBusInterfaceVTable * 487s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 487s # { 487s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 487s # } 487s # 487s # static GVariant * 487s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 487s # 487s # GVariantBuilder builder; 487s # guint n; 487s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 487s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 487s # goto out; 487s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 487s # { 487s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 487s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 487s # { 487s # GVariant *value; 487s # 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); 487s # if (value != NULL) 487s # { 487s # g_variant_take_ref (value); 487s # g_variant_builder_add (&builder, "{sv}", info->name, value); 487s # g_variant_unref (value); 487s # } 487s # } 487s # } 487s # out: 487s # return g_variant_builder_end (&builder); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_useful_interface_skeleton_finalize (GObject *object) 487s # { 487s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 487s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 487s # if (skeleton->priv->changed_properties_idle_source != NULL) 487s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 487s # g_main_context_unref (skeleton->priv->context); 487s # g_mutex_clear (&skeleton->priv->lock); 487s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 487s # #else 487s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 487s # #endif 487s # 487s # g_mutex_init (&skeleton->priv->lock); 487s # skeleton->priv->context = g_main_context_ref_thread_default (); 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusInterfaceSkeletonClass *skeleton_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 487s # 487s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 487s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 487s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 487s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 487s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_useful_interface_skeleton_new: 487s # * 487s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 487s # * 487s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 487s # */ 487s # OrgProjectUsefulInterface * 487s # org_project_useful_interface_skeleton_new (void) 487s # { 487s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 487s # } 487s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 487s # tmpdir: /tmp/tmpxzduzf45 487s # codegen: /usr/bin/gdbus-codegen 487s # /tmp/tmpxzduzf45/tmpvu9sf_9o.xml: 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # 487s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxzduzf45/tmpvu9sf_9o.xml', '--output', '-', '--body'] 487s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 487s # Output: /* 487s # * This file is generated by gdbus-codegen, do not modify it. 487s # * 487s # * The license of this code is the same as for the D-Bus interface description 487s # * it was derived from. Note that it links to GLib, so must comply with the 487s # * LGPL linking clauses. 487s # */ 487s # 487s # #ifdef HAVE_CONFIG_H 487s # # include "config.h" 487s # #endif 487s # 487s # #include 487s # #ifdef G_OS_UNIX 487s # # include 487s # #endif 487s # 487s # #ifdef G_ENABLE_DEBUG 487s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 487s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 487s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 487s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 487s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 487s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 487s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 487s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 487s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 487s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 487s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 487s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 487s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 487s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 487s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 487s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 487s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 487s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 487s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 487s # #else /* !G_ENABLE_DEBUG */ 487s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 487s # * Do not access GValues directly in your code. Instead, use the 487s # * g_value_get_*() functions 487s # */ 487s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 487s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 487s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 487s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 487s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 487s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 487s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 487s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 487s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 487s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 487s # #endif /* !G_ENABLE_DEBUG */ 487s # 487s # typedef struct 487s # { 487s # GDBusArgInfo parent_struct; 487s # gboolean use_gvariant; 487s # } _ExtendedGDBusArgInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusMethodInfo parent_struct; 487s # const gchar *signal_name; 487s # gboolean pass_fdlist; 487s # } _ExtendedGDBusMethodInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusSignalInfo parent_struct; 487s # const gchar *signal_name; 487s # } _ExtendedGDBusSignalInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusPropertyInfo parent_struct; 487s # const gchar *hyphen_name; 487s # guint use_gvariant : 1; 487s # guint emits_changed_signal : 1; 487s # } _ExtendedGDBusPropertyInfo; 487s # 487s # typedef struct 487s # { 487s # GDBusInterfaceInfo parent_struct; 487s # const gchar *hyphen_name; 487s # } _ExtendedGDBusInterfaceInfo; 487s # 487s # typedef struct 487s # { 487s # const _ExtendedGDBusPropertyInfo *info; 487s # guint prop_id; 487s # GValue orig_value; /* the value before the change */ 487s # } ChangedProperty; 487s # 487s # static void 487s # _changed_property_free (ChangedProperty *data) 487s # { 487s # g_value_unset (&data->orig_value); 487s # g_free (data); 487s # } 487s # 487s # static gboolean 487s # _g_strv_equal0 (gchar **a, gchar **b) 487s # { 487s # gboolean ret = FALSE; 487s # guint n; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # if (g_strv_length (a) != g_strv_length (b)) 487s # goto out; 487s # for (n = 0; a[n] != NULL; n++) 487s # if (g_strcmp0 (a[n], b[n]) != 0) 487s # goto out; 487s # ret = TRUE; 487s # out: 487s # return ret; 487s # } 487s # 487s # static gboolean 487s # _g_variant_equal0 (GVariant *a, GVariant *b) 487s # { 487s # gboolean ret = FALSE; 487s # if (a == NULL && b == NULL) 487s # { 487s # ret = TRUE; 487s # goto out; 487s # } 487s # if (a == NULL || b == NULL) 487s # goto out; 487s # ret = g_variant_equal (a, b); 487s # out: 487s # return ret; 487s # } 487s # 487s # G_GNUC_UNUSED static gboolean 487s # _g_value_equal (const GValue *a, const GValue *b) 487s # { 487s # gboolean ret = FALSE; 487s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 487s # switch (G_VALUE_TYPE (a)) 487s # { 487s # case G_TYPE_BOOLEAN: 487s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 487s # break; 487s # case G_TYPE_UCHAR: 487s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 487s # break; 487s # case G_TYPE_INT: 487s # ret = (g_value_get_int (a) == g_value_get_int (b)); 487s # break; 487s # case G_TYPE_UINT: 487s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 487s # break; 487s # case G_TYPE_INT64: 487s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 487s # break; 487s # case G_TYPE_UINT64: 487s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 487s # break; 487s # case G_TYPE_DOUBLE: 487s # { 487s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 487s # gdouble da = g_value_get_double (a); 487s # gdouble db = g_value_get_double (b); 487s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 487s # } 487s # break; 487s # case G_TYPE_STRING: 487s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 487s # break; 487s # case G_TYPE_VARIANT: 487s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 487s # break; 487s # default: 487s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 487s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 487s # else 487s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 487s # break; 487s # } 487s # return ret; 487s # } 487s # 487s # static void 487s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint G_GNUC_UNUSED, 487s # void *marshal_data) 487s # { 487s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 487s # (void *data1, 487s # GDBusMethodInvocation *arg_method_invocation, 487s # gboolean arg_an_b, 487s # guchar arg_an_y, 487s # gint16 arg_an_n, 487s # guint16 arg_an_q, 487s # gint arg_an_i, 487s # guint arg_an_u, 487s # gint64 arg_an_x, 487s # guint64 arg_an_t, 487s # gdouble arg_an_d, 487s # const gchar *arg_an_s, 487s # const gchar *arg_an_o, 487s # const gchar *arg_an_g, 487s # GVariant *arg_an_h, 487s # const gchar *arg_an_ay, 487s # const gchar *const *arg_an_as, 487s # const gchar *const *arg_an_ao, 487s # const gchar *const *arg_an_aay, 487s # GVariant *arg_an_asv, 487s # void *data2); 487s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 487s # GCClosure *cc = (GCClosure*) closure; 487s # void *data1, *data2; 487s # gboolean v_return; 487s # 487s # g_return_if_fail (return_value != NULL); 487s # g_return_if_fail (n_param_values == 20); 487s # 487s # if (G_CCLOSURE_SWAP_DATA (closure)) 487s # { 487s # data1 = closure->data; 487s # data2 = g_value_peek_pointer (param_values + 0); 487s # } 487s # else 487s # { 487s # data1 = g_value_peek_pointer (param_values + 0); 487s # data2 = closure->data; 487s # } 487s # 487s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 487s # (marshal_data ? marshal_data : cc->callback); 487s # 487s # v_return = 487s # callback (data1, 487s # g_marshal_value_peek_object (param_values + 1), 487s # g_marshal_value_peek_boolean (param_values + 2), 487s # g_marshal_value_peek_uchar (param_values + 3), 487s # g_marshal_value_peek_int (param_values + 4), 487s # g_marshal_value_peek_uint (param_values + 5), 487s # g_marshal_value_peek_int (param_values + 6), 487s # g_marshal_value_peek_uint (param_values + 7), 487s # g_marshal_value_peek_int64 (param_values + 8), 487s # g_marshal_value_peek_uint64 (param_values + 9), 487s # g_marshal_value_peek_double (param_values + 10), 487s # g_marshal_value_peek_string (param_values + 11), 487s # g_marshal_value_peek_string (param_values + 12), 487s # g_marshal_value_peek_string (param_values + 13), 487s # g_marshal_value_peek_variant (param_values + 14), 487s # g_marshal_value_peek_string (param_values + 15), 487s # g_marshal_value_peek_boxed (param_values + 16), 487s # g_marshal_value_peek_boxed (param_values + 17), 487s # g_marshal_value_peek_boxed (param_values + 18), 487s # g_marshal_value_peek_variant (param_values + 19), 487s # data2); 487s # 487s # g_value_set_boolean (return_value, v_return); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ 487s # * Code for interface org.project.CallableIface 487s # * ------------------------------------------------------------------------ 487s # */ 487s # 487s # /** 487s # * SECTION:OrgProjectCallableIface 487s # * @title: OrgProjectCallableIface 487s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 487s # * 487s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 487s # */ 487s # 487s # /* ---- Introspection data for org.project.CallableIface ---- */ 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_b", 487s # (gchar *) "b", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_y", 487s # (gchar *) "y", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_n", 487s # (gchar *) "n", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_q", 487s # (gchar *) "q", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_i", 487s # (gchar *) "i", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_u", 487s # (gchar *) "u", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_x", 487s # (gchar *) "x", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_t", 487s # (gchar *) "t", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_d", 487s # (gchar *) "d", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_s", 487s # (gchar *) "s", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_o", 487s # (gchar *) "o", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_g", 487s # (gchar *) "g", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_h", 487s # (gchar *) "h", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_ay", 487s # (gchar *) "ay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_as", 487s # (gchar *) "as", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_ao", 487s # (gchar *) "ao", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_aay", 487s # (gchar *) "aay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_asv", 487s # (gchar *) "a{sv}", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 487s # { 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 487s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 487s # { 487s # { 487s # -1, 487s # (gchar *) "MethodWithManyArgs", 487s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-method-with-many-args", 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_b", 487s # (gchar *) "b", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_y", 487s # (gchar *) "y", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_n", 487s # (gchar *) "n", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_q", 487s # (gchar *) "q", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_i", 487s # (gchar *) "i", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_u", 487s # (gchar *) "u", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_x", 487s # (gchar *) "x", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_t", 487s # (gchar *) "t", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_d", 487s # (gchar *) "d", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_s", 487s # (gchar *) "s", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_o", 487s # (gchar *) "o", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_g", 487s # (gchar *) "g", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_h", 487s # (gchar *) "h", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_ay", 487s # (gchar *) "ay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_as", 487s # (gchar *) "as", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_ao", 487s # (gchar *) "ao", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_aay", 487s # (gchar *) "aay", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 487s # { 487s # { 487s # -1, 487s # (gchar *) "an_asv", 487s # (gchar *) "a{sv}", 487s # NULL 487s # }, 487s # FALSE 487s # }; 487s # 487s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 487s # { 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 487s # { 487s # { 487s # -1, 487s # (gchar *) "SameMethodWithManyArgs", 487s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 487s # NULL, 487s # NULL 487s # }, 487s # "handle-same-method-with-many-args", 487s # FALSE 487s # }; 487s # 487s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 487s # { 487s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 487s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 487s # NULL 487s # }; 487s # 487s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 487s # { 487s # { 487s # -1, 487s # (gchar *) "org.project.CallableIface", 487s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 487s # NULL, 487s # NULL, 487s # NULL 487s # }, 487s # "org-project-callable-iface", 487s # }; 487s # 487s # 487s # /** 487s # * org_project_callable_iface_interface_info: 487s # * 487s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 487s # * 487s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 487s # */ 487s # GDBusInterfaceInfo * 487s # org_project_callable_iface_interface_info (void) 487s # { 487s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_override_properties: 487s # * @klass: The class structure for a #GObject derived class. 487s # * @property_id_begin: The property id to assign to the first overridden property. 487s # * 487s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 487s # * The properties are overridden in the order they are defined. 487s # * 487s # * Returns: The last property id. 487s # */ 487s # guint 487s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 487s # { 487s # return property_id_begin - 1; 487s # } 487s # 487s # 487s # inline static void 487s # org_project_callable_iface_method_marshal_method_with_many_args ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _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, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # inline static void 487s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 487s # GClosure *closure, 487s # GValue *return_value, 487s # unsigned int n_param_values, 487s # const GValue *param_values, 487s # void *invocation_hint, 487s # void *marshal_data) 487s # { 487s # _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, 487s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 487s # } 487s # 487s # 487s # /** 487s # * OrgProjectCallableIface: 487s # * 487s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 487s # */ 487s # 487s # /** 487s # * OrgProjectCallableIfaceIface: 487s # * @parent_iface: The parent interface. 487s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 487s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 487s # * 487s # * Virtual table for the D-Bus interface org.project.CallableIface. 487s # */ 487s # 487s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 487s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 487s # 487s # static void 487s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 487s # { 487s # /* GObject signals for incoming D-Bus method calls: */ 487s # /** 487s # * OrgProjectCallableIface::handle-method-with-many-args: 487s # * @object: A #OrgProjectCallableIface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_an_b: Argument passed by remote caller. 487s # * @arg_an_y: Argument passed by remote caller. 487s # * @arg_an_n: Argument passed by remote caller. 487s # * @arg_an_q: Argument passed by remote caller. 487s # * @arg_an_i: Argument passed by remote caller. 487s # * @arg_an_u: Argument passed by remote caller. 487s # * @arg_an_x: Argument passed by remote caller. 487s # * @arg_an_t: Argument passed by remote caller. 487s # * @arg_an_d: Argument passed by remote caller. 487s # * @arg_an_s: Argument passed by remote caller. 487s # * @arg_an_o: Argument passed by remote caller. 487s # * @arg_an_g: Argument passed by remote caller. 487s # * @arg_an_h: Argument passed by remote caller. 487s # * @arg_an_ay: Argument passed by remote caller. 487s # * @arg_an_as: Argument passed by remote caller. 487s # * @arg_an_ao: Argument passed by remote caller. 487s # * @arg_an_aay: Argument passed by remote caller. 487s # * @arg_an_asv: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-method-with-many-args", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_callable_iface_method_marshal_method_with_many_args, 487s # G_TYPE_BOOLEAN, 487s # 19, 487s # 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); 487s # 487s # /** 487s # * OrgProjectCallableIface::handle-same-method-with-many-args: 487s # * @object: A #OrgProjectCallableIface. 487s # * @invocation: A #GDBusMethodInvocation. 487s # * @arg_an_b: Argument passed by remote caller. 487s # * @arg_an_y: Argument passed by remote caller. 487s # * @arg_an_n: Argument passed by remote caller. 487s # * @arg_an_q: Argument passed by remote caller. 487s # * @arg_an_i: Argument passed by remote caller. 487s # * @arg_an_u: Argument passed by remote caller. 487s # * @arg_an_x: Argument passed by remote caller. 487s # * @arg_an_t: Argument passed by remote caller. 487s # * @arg_an_d: Argument passed by remote caller. 487s # * @arg_an_s: Argument passed by remote caller. 487s # * @arg_an_o: Argument passed by remote caller. 487s # * @arg_an_g: Argument passed by remote caller. 487s # * @arg_an_h: Argument passed by remote caller. 487s # * @arg_an_ay: Argument passed by remote caller. 487s # * @arg_an_as: Argument passed by remote caller. 487s # * @arg_an_ao: Argument passed by remote caller. 487s # * @arg_an_aay: Argument passed by remote caller. 487s # * @arg_an_asv: Argument passed by remote caller. 487s # * 487s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 487s # * 487s # * 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. 487s # * 487s # * 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. 487s # */ 487s # g_signal_new ("handle-same-method-with-many-args", 487s # G_TYPE_FROM_INTERFACE (iface), 487s # G_SIGNAL_RUN_LAST, 487s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 487s # g_signal_accumulator_true_handled, 487s # NULL, 487s # org_project_callable_iface_method_marshal_same_method_with_many_args, 487s # G_TYPE_BOOLEAN, 487s # 19, 487s # 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); 487s # 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_method_with_many_args: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @arg_an_b: Argument to pass with the method invocation. 487s # * @arg_an_y: Argument to pass with the method invocation. 487s # * @arg_an_n: Argument to pass with the method invocation. 487s # * @arg_an_q: Argument to pass with the method invocation. 487s # * @arg_an_i: Argument to pass with the method invocation. 487s # * @arg_an_u: Argument to pass with the method invocation. 487s # * @arg_an_x: Argument to pass with the method invocation. 487s # * @arg_an_t: Argument to pass with the method invocation. 487s # * @arg_an_d: Argument to pass with the method invocation. 487s # * @arg_an_s: Argument to pass with the method invocation. 487s # * @arg_an_o: Argument to pass with the method invocation. 487s # * @arg_an_g: Argument to pass with the method invocation. 487s # * @arg_an_h: Argument to pass with the method invocation. 487s # * @arg_an_ay: Argument to pass with the method invocation. 487s # * @arg_an_as: Argument to pass with the method invocation. 487s # * @arg_an_ao: Argument to pass with the method invocation. 487s # * @arg_an_aay: Argument to pass with the method invocation. 487s # * @arg_an_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 487s # * 487s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_callable_iface_call_method_with_many_args ( 487s # OrgProjectCallableIface *proxy, 487s # gboolean arg_an_b, 487s # guchar arg_an_y, 487s # gint16 arg_an_n, 487s # guint16 arg_an_q, 487s # gint arg_an_i, 487s # guint arg_an_u, 487s # gint64 arg_an_x, 487s # guint64 arg_an_t, 487s # gdouble arg_an_d, 487s # const gchar *arg_an_s, 487s # const gchar *arg_an_o, 487s # const gchar *arg_an_g, 487s # GVariant *arg_an_h, 487s # const gchar *arg_an_ay, 487s # const gchar *const *arg_an_as, 487s # const gchar *const *arg_an_ao, 487s # const gchar *const *arg_an_aay, 487s # GVariant *arg_an_asv, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "MethodWithManyArgs", 487s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 487s # arg_an_b, 487s # arg_an_y, 487s # arg_an_n, 487s # arg_an_q, 487s # arg_an_i, 487s # arg_an_u, 487s # arg_an_x, 487s # arg_an_t, 487s # arg_an_d, 487s # arg_an_s, 487s # arg_an_o, 487s # arg_an_g, 487s # arg_an_h, 487s # arg_an_ay, 487s # arg_an_as, 487s # arg_an_ao, 487s # arg_an_aay, 487s # arg_an_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_method_with_many_args_finish: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_callable_iface_call_method_with_many_args_finish ( 487s # OrgProjectCallableIface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_method_with_many_args_sync: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @arg_an_b: Argument to pass with the method invocation. 487s # * @arg_an_y: Argument to pass with the method invocation. 487s # * @arg_an_n: Argument to pass with the method invocation. 487s # * @arg_an_q: Argument to pass with the method invocation. 487s # * @arg_an_i: Argument to pass with the method invocation. 487s # * @arg_an_u: Argument to pass with the method invocation. 487s # * @arg_an_x: Argument to pass with the method invocation. 487s # * @arg_an_t: Argument to pass with the method invocation. 487s # * @arg_an_d: Argument to pass with the method invocation. 487s # * @arg_an_s: Argument to pass with the method invocation. 487s # * @arg_an_o: Argument to pass with the method invocation. 487s # * @arg_an_g: Argument to pass with the method invocation. 487s # * @arg_an_h: Argument to pass with the method invocation. 487s # * @arg_an_ay: Argument to pass with the method invocation. 487s # * @arg_an_as: Argument to pass with the method invocation. 487s # * @arg_an_ao: Argument to pass with the method invocation. 487s # * @arg_an_aay: Argument to pass with the method invocation. 487s # * @arg_an_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_callable_iface_call_method_with_many_args_sync ( 487s # OrgProjectCallableIface *proxy, 487s # gboolean arg_an_b, 487s # guchar arg_an_y, 487s # gint16 arg_an_n, 487s # guint16 arg_an_q, 487s # gint arg_an_i, 487s # guint arg_an_u, 487s # gint64 arg_an_x, 487s # guint64 arg_an_t, 487s # gdouble arg_an_d, 487s # const gchar *arg_an_s, 487s # const gchar *arg_an_o, 487s # const gchar *arg_an_g, 487s # GVariant *arg_an_h, 487s # const gchar *arg_an_ay, 487s # const gchar *const *arg_an_as, 487s # const gchar *const *arg_an_ao, 487s # const gchar *const *arg_an_aay, 487s # GVariant *arg_an_asv, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "MethodWithManyArgs", 487s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 487s # arg_an_b, 487s # arg_an_y, 487s # arg_an_n, 487s # arg_an_q, 487s # arg_an_i, 487s # arg_an_u, 487s # arg_an_x, 487s # arg_an_t, 487s # arg_an_d, 487s # arg_an_s, 487s # arg_an_o, 487s # arg_an_g, 487s # arg_an_h, 487s # arg_an_ay, 487s # arg_an_as, 487s # arg_an_ao, 487s # arg_an_aay, 487s # arg_an_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_same_method_with_many_args: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @arg_an_b: Argument to pass with the method invocation. 487s # * @arg_an_y: Argument to pass with the method invocation. 487s # * @arg_an_n: Argument to pass with the method invocation. 487s # * @arg_an_q: Argument to pass with the method invocation. 487s # * @arg_an_i: Argument to pass with the method invocation. 487s # * @arg_an_u: Argument to pass with the method invocation. 487s # * @arg_an_x: Argument to pass with the method invocation. 487s # * @arg_an_t: Argument to pass with the method invocation. 487s # * @arg_an_d: Argument to pass with the method invocation. 487s # * @arg_an_s: Argument to pass with the method invocation. 487s # * @arg_an_o: Argument to pass with the method invocation. 487s # * @arg_an_g: Argument to pass with the method invocation. 487s # * @arg_an_h: Argument to pass with the method invocation. 487s # * @arg_an_ay: Argument to pass with the method invocation. 487s # * @arg_an_as: Argument to pass with the method invocation. 487s # * @arg_an_ao: Argument to pass with the method invocation. 487s # * @arg_an_aay: Argument to pass with the method invocation. 487s # * @arg_an_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 487s # * 487s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 487s # */ 487s # void 487s # org_project_callable_iface_call_same_method_with_many_args ( 487s # OrgProjectCallableIface *proxy, 487s # gboolean arg_an_b, 487s # guchar arg_an_y, 487s # gint16 arg_an_n, 487s # guint16 arg_an_q, 487s # gint arg_an_i, 487s # guint arg_an_u, 487s # gint64 arg_an_x, 487s # guint64 arg_an_t, 487s # gdouble arg_an_d, 487s # const gchar *arg_an_s, 487s # const gchar *arg_an_o, 487s # const gchar *arg_an_g, 487s # GVariant *arg_an_h, 487s # const gchar *arg_an_ay, 487s # const gchar *const *arg_an_as, 487s # const gchar *const *arg_an_ao, 487s # const gchar *const *arg_an_aay, 487s # GVariant *arg_an_asv, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 487s # "SameMethodWithManyArgs", 487s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 487s # arg_an_b, 487s # arg_an_y, 487s # arg_an_n, 487s # arg_an_q, 487s # arg_an_i, 487s # arg_an_u, 487s # arg_an_x, 487s # arg_an_t, 487s # arg_an_d, 487s # arg_an_s, 487s # arg_an_o, 487s # arg_an_g, 487s # arg_an_h, 487s # arg_an_ay, 487s # arg_an_as, 487s # arg_an_ao, 487s # arg_an_aay, 487s # arg_an_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # callback, 487s # user_data); 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_same_method_with_many_args_finish: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_callable_iface_call_same_method_with_many_args_finish ( 487s # OrgProjectCallableIface *proxy, 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_call_same_method_with_many_args_sync: 487s # * @proxy: A #OrgProjectCallableIfaceProxy. 487s # * @arg_an_b: Argument to pass with the method invocation. 487s # * @arg_an_y: Argument to pass with the method invocation. 487s # * @arg_an_n: Argument to pass with the method invocation. 487s # * @arg_an_q: Argument to pass with the method invocation. 487s # * @arg_an_i: Argument to pass with the method invocation. 487s # * @arg_an_u: Argument to pass with the method invocation. 487s # * @arg_an_x: Argument to pass with the method invocation. 487s # * @arg_an_t: Argument to pass with the method invocation. 487s # * @arg_an_d: Argument to pass with the method invocation. 487s # * @arg_an_s: Argument to pass with the method invocation. 487s # * @arg_an_o: Argument to pass with the method invocation. 487s # * @arg_an_g: Argument to pass with the method invocation. 487s # * @arg_an_h: Argument to pass with the method invocation. 487s # * @arg_an_ay: Argument to pass with the method invocation. 487s # * @arg_an_as: Argument to pass with the method invocation. 487s # * @arg_an_ao: Argument to pass with the method invocation. 487s # * @arg_an_aay: Argument to pass with the method invocation. 487s # * @arg_an_asv: Argument to pass with the method invocation. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL. 487s # * 487s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 487s # * 487s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 487s # */ 487s # gboolean 487s # org_project_callable_iface_call_same_method_with_many_args_sync ( 487s # OrgProjectCallableIface *proxy, 487s # gboolean arg_an_b, 487s # guchar arg_an_y, 487s # gint16 arg_an_n, 487s # guint16 arg_an_q, 487s # gint arg_an_i, 487s # guint arg_an_u, 487s # gint64 arg_an_x, 487s # guint64 arg_an_t, 487s # gdouble arg_an_d, 487s # const gchar *arg_an_s, 487s # const gchar *arg_an_o, 487s # const gchar *arg_an_g, 487s # GVariant *arg_an_h, 487s # const gchar *arg_an_ay, 487s # const gchar *const *arg_an_as, 487s # const gchar *const *arg_an_ao, 487s # const gchar *const *arg_an_aay, 487s # GVariant *arg_an_asv, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GVariant *_ret; 487s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 487s # "SameMethodWithManyArgs", 487s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 487s # arg_an_b, 487s # arg_an_y, 487s # arg_an_n, 487s # arg_an_q, 487s # arg_an_i, 487s # arg_an_u, 487s # arg_an_x, 487s # arg_an_t, 487s # arg_an_d, 487s # arg_an_s, 487s # arg_an_o, 487s # arg_an_g, 487s # arg_an_h, 487s # arg_an_ay, 487s # arg_an_as, 487s # arg_an_ao, 487s # arg_an_aay, 487s # arg_an_asv), 487s # G_DBUS_CALL_FLAGS_NONE, 487s # -1, 487s # cancellable, 487s # error); 487s # if (_ret == NULL) 487s # goto _out; 487s # g_variant_get (_ret, 487s # "()"); 487s # g_variant_unref (_ret); 487s # _out: 487s # return _ret != NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_complete_method_with_many_args: 487s # * @object: A #OrgProjectCallableIface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_callable_iface_complete_method_with_many_args ( 487s # OrgProjectCallableIface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_complete_same_method_with_many_args: 487s # * @object: A #OrgProjectCallableIface. 487s # * @invocation: (transfer full): A #GDBusMethodInvocation. 487s # * 487s # * 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. 487s # * 487s # * This method will free @invocation, you cannot use it afterwards. 487s # */ 487s # void 487s # org_project_callable_iface_complete_same_method_with_many_args ( 487s # OrgProjectCallableIface *object G_GNUC_UNUSED, 487s # GDBusMethodInvocation *invocation) 487s # { 487s # g_dbus_method_invocation_return_value (invocation, 487s # g_variant_new ("()")); 487s # } 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectCallableIfaceProxy: 487s # * 487s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectCallableIfaceProxyClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectCallableIfaceProxy. 487s # */ 487s # 487s # struct _OrgProjectCallableIfaceProxyPrivate 487s # { 487s # GData *qdata; 487s # }; 487s # 487s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 487s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 487s # 487s # #else 487s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 487s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 487s # 487s # #endif 487s # static void 487s # org_project_callable_iface_proxy_finalize (GObject *object) 487s # { 487s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 487s # g_datalist_clear (&proxy->priv->qdata); 487s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 487s # guint prop_id G_GNUC_UNUSED, 487s # const GValue *value G_GNUC_UNUSED, 487s # GParamSpec *pspec G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 487s # const gchar *sender_name G_GNUC_UNUSED, 487s # const gchar *signal_name, 487s # GVariant *parameters) 487s # { 487s # _ExtendedGDBusSignalInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # gsize n; 487s # guint signal_id; 487s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 487s # if (info == NULL) 487s # return; 487s # num_params = g_variant_n_children (parameters); 487s # paramv = g_new0 (GValue, num_params + 1); 487s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 487s # g_value_set_object (¶mv[0], proxy); 487s # g_variant_iter_init (&iter, parameters); 487s # n = 1; 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 487s # g_signal_emitv (paramv, signal_id, 0, NULL); 487s # for (n = 0; n < num_params + 1; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 487s # GVariant *changed_properties, 487s # const gchar *const *invalidated_properties) 487s # { 487s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 487s # guint n; 487s # const gchar *key; 487s # GVariantIter *iter; 487s # _ExtendedGDBusPropertyInfo *info; 487s # g_variant_get (changed_properties, "a{sv}", &iter); 487s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 487s # g_datalist_remove_data (&proxy->priv->qdata, key); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # g_variant_iter_free (iter); 487s # for (n = 0; invalidated_properties[n] != NULL; n++) 487s # { 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 487s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 487s # if (info != NULL) 487s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 487s # } 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 487s # { 487s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 487s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 487s # #else 487s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 487s # #endif 487s # 487s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 487s # { 487s # GObjectClass *gobject_class; 487s # GDBusProxyClass *proxy_class; 487s # 487s # gobject_class = G_OBJECT_CLASS (klass); 487s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 487s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 487s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 487s # 487s # proxy_class = G_DBUS_PROXY_CLASS (klass); 487s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 487s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 487s # 487s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 487s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 487s # #endif 487s # } 487s # 487s # static void 487s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 487s # { 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 487s # * 487s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_callable_iface_proxy_new ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # 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); 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectCallableIface * 487s # org_project_callable_iface_proxy_new_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_CALLABLE_IFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new_sync: 487s # * @connection: A #GDBusConnection. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectCallableIface * 487s # org_project_callable_iface_proxy_new_sync ( 487s # GDBusConnection *connection, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_CALLABLE_IFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new_for_bus: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 487s # * @user_data: User data to pass to @callback. 487s # * 487s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 487s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 487s # * 487s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 487s # */ 487s # void 487s # org_project_callable_iface_proxy_new_for_bus ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GAsyncReadyCallback callback, 487s # gpointer user_data) 487s # { 487s # 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); 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new_for_bus_finish: 487s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 487s # * @error: Return location for error or %NULL 487s # * 487s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 487s # * 487s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectCallableIface * 487s # org_project_callable_iface_proxy_new_for_bus_finish ( 487s # GAsyncResult *res, 487s # GError **error) 487s # { 487s # GObject *ret; 487s # GObject *source_object; 487s # source_object = g_async_result_get_source_object (res); 487s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 487s # g_object_unref (source_object); 487s # if (ret != NULL) 487s # return ORG_PROJECT_CALLABLE_IFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # /** 487s # * org_project_callable_iface_proxy_new_for_bus_sync: 487s # * @bus_type: A #GBusType. 487s # * @flags: Flags from the #GDBusProxyFlags enumeration. 487s # * @name: A bus name (well-known or unique). 487s # * @object_path: An object path. 487s # * @cancellable: (nullable): A #GCancellable or %NULL. 487s # * @error: Return location for error or %NULL 487s # * 487s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 487s # * 487s # * The calling thread is blocked until a reply is received. 487s # * 487s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 487s # * 487s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 487s # */ 487s # OrgProjectCallableIface * 487s # org_project_callable_iface_proxy_new_for_bus_sync ( 487s # GBusType bus_type, 487s # GDBusProxyFlags flags, 487s # const gchar *name, 487s # const gchar *object_path, 487s # GCancellable *cancellable, 487s # GError **error) 487s # { 487s # GInitable *ret; 487s # 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); 487s # if (ret != NULL) 487s # return ORG_PROJECT_CALLABLE_IFACE (ret); 487s # else 487s # return NULL; 487s # } 487s # 487s # 487s # /* ------------------------------------------------------------------------ */ 487s # 487s # /** 487s # * OrgProjectCallableIfaceSkeleton: 487s # * 487s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 487s # */ 487s # 487s # /** 487s # * OrgProjectCallableIfaceSkeletonClass: 487s # * @parent_class: The parent class. 487s # * 487s # * Class structure for #OrgProjectCallableIfaceSkeleton. 487s # */ 487s # 487s # struct _OrgProjectCallableIfaceSkeletonPrivate 487s # { 487s # GValue *properties; 487s # GList *changed_properties; 487s # GSource *changed_properties_idle_source; 487s # GMainContext *context; 487s # GMutex lock; 487s # }; 487s # 487s # static void 487s # _org_project_callable_iface_skeleton_handle_method_call ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name, 487s # const gchar *method_name, 487s # GVariant *parameters, 487s # GDBusMethodInvocation *invocation, 487s # gpointer user_data) 487s # { 487s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 487s # _ExtendedGDBusMethodInfo *info; 487s # GVariantIter iter; 487s # GVariant *child; 487s # GValue *paramv; 487s # gsize num_params; 487s # guint num_extra; 487s # gsize n; 487s # guint signal_id; 487s # GValue return_value = G_VALUE_INIT; 487s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 487s # g_assert (info != NULL); 487s # num_params = g_variant_n_children (parameters); 487s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 487s # n = 0; 487s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 487s # g_value_set_object (¶mv[n++], skeleton); 487s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 487s # g_value_set_object (¶mv[n++], invocation); 487s # if (info->pass_fdlist) 487s # { 487s # #ifdef G_OS_UNIX 487s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 487s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 487s # #else 487s # g_assert_not_reached (); 487s # #endif 487s # } 487s # g_variant_iter_init (&iter, parameters); 487s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 487s # { 487s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 487s # if (arg_info->use_gvariant) 487s # { 487s # g_value_init (¶mv[n], G_TYPE_VARIANT); 487s # g_value_set_variant (¶mv[n], child); 487s # n++; 487s # } 487s # else 487s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 487s # g_variant_unref (child); 487s # } 487s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 487s # g_value_init (&return_value, G_TYPE_BOOLEAN); 487s # g_signal_emitv (paramv, signal_id, 0, &return_value); 487s # if (!g_value_get_boolean (&return_value)) 487s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 487s # g_value_unset (&return_value); 487s # for (n = 0; n < num_params + num_extra; n++) 487s # g_value_unset (¶mv[n]); 487s # g_free (paramv); 487s # } 487s # 487s # static GVariant * 487s # _org_project_callable_iface_skeleton_handle_get_property ( 487s # GDBusConnection *connection G_GNUC_UNUSED, 487s # const gchar *sender G_GNUC_UNUSED, 487s # const gchar *object_path G_GNUC_UNUSED, 487s # const gchar *interface_name G_GNUC_UNUSED, 487s # const gchar *property_name, 487s # GError **error, 487s # gpointer user_data) 487s # { 487s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 487s # GValue value = G_VALUE_INIT; 487s # GParamSpec *pspec; 487s # _ExtendedGDBusPropertyInfo *info; 487s # GVariant *ret; 487s # ret = NULL; 487s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 487s # g_assert (info != NULL); 487s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 487s # if (pspec == NULL) 487s # { 487s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 487s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_callable_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 488s # { 488s # _org_project_callable_iface_skeleton_handle_method_call, 488s # _org_project_callable_iface_skeleton_handle_get_property, 488s # _org_project_callable_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_callable_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_callable_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.OtherCallableIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectOtherCallableIface 488s # * @title: OrgProjectOtherCallableIface 488s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 488s # */ 488s # 488s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 488s # { 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 488s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 488s # { 488s # { 488s # -1, 488s # (gchar *) "MethodWithManyArgs", 488s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "handle-method-with-many-args", 488s # FALSE 488s # }; 488s # 488s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 488s # { 488s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.OtherCallableIface", 488s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 488s # NULL, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-other-callable-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_other_callable_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_other_callable_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _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, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectOtherCallableIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherCallableIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 488s # */ 488s # 488s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 488s # { 488s # /* GObject signals for incoming D-Bus method calls: */ 488s # /** 488s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 488s # * @object: A #OrgProjectOtherCallableIface. 488s # * @invocation: A #GDBusMethodInvocation. 488s # * @arg_an_b: Argument passed by remote caller. 488s # * @arg_an_y: Argument passed by remote caller. 488s # * @arg_an_n: Argument passed by remote caller. 488s # * @arg_an_q: Argument passed by remote caller. 488s # * @arg_an_i: Argument passed by remote caller. 488s # * @arg_an_u: Argument passed by remote caller. 488s # * @arg_an_x: Argument passed by remote caller. 488s # * @arg_an_t: Argument passed by remote caller. 488s # * @arg_an_d: Argument passed by remote caller. 488s # * @arg_an_s: Argument passed by remote caller. 488s # * @arg_an_o: Argument passed by remote caller. 488s # * @arg_an_g: Argument passed by remote caller. 488s # * @arg_an_h: Argument passed by remote caller. 488s # * @arg_an_ay: Argument passed by remote caller. 488s # * @arg_an_as: Argument passed by remote caller. 488s # * @arg_an_ao: Argument passed by remote caller. 488s # * @arg_an_aay: Argument passed by remote caller. 488s # * @arg_an_asv: Argument passed by remote caller. 488s # * 488s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 488s # * 488s # * 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. 488s # * 488s # * 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. 488s # */ 488s # g_signal_new ("handle-method-with-many-args", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 488s # g_signal_accumulator_true_handled, 488s # NULL, 488s # org_project_other_callable_iface_method_marshal_method_with_many_args, 488s # G_TYPE_BOOLEAN, 488s # 19, 488s # 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); 488s # 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_call_method_with_many_args: 488s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 488s # * @arg_an_b: Argument to pass with the method invocation. 488s # * @arg_an_y: Argument to pass with the method invocation. 488s # * @arg_an_n: Argument to pass with the method invocation. 488s # * @arg_an_q: Argument to pass with the method invocation. 488s # * @arg_an_i: Argument to pass with the method invocation. 488s # * @arg_an_u: Argument to pass with the method invocation. 488s # * @arg_an_x: Argument to pass with the method invocation. 488s # * @arg_an_t: Argument to pass with the method invocation. 488s # * @arg_an_d: Argument to pass with the method invocation. 488s # * @arg_an_s: Argument to pass with the method invocation. 488s # * @arg_an_o: Argument to pass with the method invocation. 488s # * @arg_an_g: Argument to pass with the method invocation. 488s # * @arg_an_h: Argument to pass with the method invocation. 488s # * @arg_an_ay: Argument to pass with the method invocation. 488s # * @arg_an_as: Argument to pass with the method invocation. 488s # * @arg_an_ao: Argument to pass with the method invocation. 488s # * @arg_an_aay: Argument to pass with the method invocation. 488s # * @arg_an_asv: Argument to pass with the method invocation. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 488s # */ 488s # void 488s # org_project_other_callable_iface_call_method_with_many_args ( 488s # OrgProjectOtherCallableIface *proxy, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 488s # "MethodWithManyArgs", 488s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # arg_an_b, 488s # arg_an_y, 488s # arg_an_n, 488s # arg_an_q, 488s # arg_an_i, 488s # arg_an_u, 488s # arg_an_x, 488s # arg_an_t, 488s # arg_an_d, 488s # arg_an_s, 488s # arg_an_o, 488s # arg_an_g, 488s # arg_an_h, 488s # arg_an_ay, 488s # arg_an_as, 488s # arg_an_ao, 488s # arg_an_aay, 488s # arg_an_asv), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # cancellable, 488s # callback, 488s # user_data); 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_call_method_with_many_args_finish: 488s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # org_project_other_callable_iface_call_method_with_many_args_finish ( 488s # OrgProjectOtherCallableIface *proxy, 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "()"); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_call_method_with_many_args_sync: 488s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 488s # * @arg_an_b: Argument to pass with the method invocation. 488s # * @arg_an_y: Argument to pass with the method invocation. 488s # * @arg_an_n: Argument to pass with the method invocation. 488s # * @arg_an_q: Argument to pass with the method invocation. 488s # * @arg_an_i: Argument to pass with the method invocation. 488s # * @arg_an_u: Argument to pass with the method invocation. 488s # * @arg_an_x: Argument to pass with the method invocation. 488s # * @arg_an_t: Argument to pass with the method invocation. 488s # * @arg_an_d: Argument to pass with the method invocation. 488s # * @arg_an_s: Argument to pass with the method invocation. 488s # * @arg_an_o: Argument to pass with the method invocation. 488s # * @arg_an_g: Argument to pass with the method invocation. 488s # * @arg_an_h: Argument to pass with the method invocation. 488s # * @arg_an_ay: Argument to pass with the method invocation. 488s # * @arg_an_as: Argument to pass with the method invocation. 488s # * @arg_an_ao: Argument to pass with the method invocation. 488s # * @arg_an_aay: Argument to pass with the method invocation. 488s # * @arg_an_asv: Argument to pass with the method invocation. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # org_project_other_callable_iface_call_method_with_many_args_sync ( 488s # OrgProjectOtherCallableIface *proxy, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 488s # "MethodWithManyArgs", 488s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # arg_an_b, 488s # arg_an_y, 488s # arg_an_n, 488s # arg_an_q, 488s # arg_an_i, 488s # arg_an_u, 488s # arg_an_x, 488s # arg_an_t, 488s # arg_an_d, 488s # arg_an_s, 488s # arg_an_o, 488s # arg_an_g, 488s # arg_an_h, 488s # arg_an_ay, 488s # arg_an_as, 488s # arg_an_ao, 488s # arg_an_aay, 488s # arg_an_asv), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # cancellable, 488s # error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "()"); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_complete_method_with_many_args: 488s # * @object: A #OrgProjectOtherCallableIface. 488s # * @invocation: (transfer full): A #GDBusMethodInvocation. 488s # * 488s # * 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. 488s # * 488s # * This method will free @invocation, you cannot use it afterwards. 488s # */ 488s # void 488s # org_project_other_callable_iface_complete_method_with_many_args ( 488s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 488s # GDBusMethodInvocation *invocation) 488s # { 488s # g_dbus_method_invocation_return_value (invocation, 488s # g_variant_new ("()")); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherCallableIfaceProxy: 488s # * 488s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherCallableIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectOtherCallableIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_callable_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_callable_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherCallableIface * 488s # org_project_other_callable_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherCallableIface * 488s # org_project_other_callable_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_callable_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherCallableIface * 488s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherCallableIface * 488s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherCallableIfaceSkeleton: 488s # * 488s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherCallableIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_other_callable_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_other_callable_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_other_callable_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 488s # { 488s # _org_project_other_callable_iface_skeleton_handle_method_call, 488s # _org_project_other_callable_iface_skeleton_handle_get_property, 488s # _org_project_other_callable_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_other_callable_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_other_callable_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectOtherCallableIface * 488s # org_project_other_callable_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 488s # } 488s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 488s # tmpdir: /tmp/tmpkzexzgg0 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpkzexzgg0/tmpqwz9iqe5.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkzexzgg0/tmpqwz9iqe5.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 488s # (void *data1, 488s # GDBusMethodInvocation *arg_method_invocation, 488s # void *data2); 488s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # gboolean v_return; 488s # 488s # g_return_if_fail (return_value != NULL); 488s # g_return_if_fail (n_param_values == 2); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # v_return = 488s # callback (data1, 488s # g_marshal_value_peek_object (param_values + 1), 488s # data2); 488s # 488s # g_value_set_boolean (return_value, v_return); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.CallableIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectCallableIface 488s # * @title: OrgProjectCallableIface 488s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 488s # */ 488s # 488s # /* ---- Introspection data for org.project.CallableIface ---- */ 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 488s # { 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 488s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 488s # { 488s # { 488s # -1, 488s # (gchar *) "MethodWithManyArgs", 488s # NULL, 488s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 488s # NULL 488s # }, 488s # "handle-method-with-many-args", 488s # FALSE 488s # }; 488s # 488s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 488s # { 488s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.CallableIface", 488s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 488s # NULL, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-callable-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_callable_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_callable_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_callable_iface_method_marshal_method_with_many_args ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectCallableIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectCallableIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.CallableIface. 488s # */ 488s # 488s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 488s # { 488s # /* GObject signals for incoming D-Bus method calls: */ 488s # /** 488s # * OrgProjectCallableIface::handle-method-with-many-args: 488s # * @object: A #OrgProjectCallableIface. 488s # * @invocation: A #GDBusMethodInvocation. 488s # * 488s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 488s # * 488s # * 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. 488s # * 488s # * 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. 488s # */ 488s # g_signal_new ("handle-method-with-many-args", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 488s # g_signal_accumulator_true_handled, 488s # NULL, 488s # org_project_callable_iface_method_marshal_method_with_many_args, 488s # G_TYPE_BOOLEAN, 488s # 1, 488s # G_TYPE_DBUS_METHOD_INVOCATION); 488s # 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_call_method_with_many_args: 488s # * @proxy: A #OrgProjectCallableIfaceProxy. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 488s # * 488s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 488s # */ 488s # void 488s # org_project_callable_iface_call_method_with_many_args ( 488s # OrgProjectCallableIface *proxy, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 488s # "MethodWithManyArgs", 488s # g_variant_new ("()"), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # cancellable, 488s # callback, 488s # user_data); 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_call_method_with_many_args_finish: 488s # * @proxy: A #OrgProjectCallableIfaceProxy. 488s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # org_project_callable_iface_call_method_with_many_args_finish ( 488s # OrgProjectCallableIface *proxy, 488s # gboolean *out_an_b, 488s # guchar *out_an_y, 488s # gint16 *out_an_n, 488s # guint16 *out_an_q, 488s # gint *out_an_i, 488s # guint *out_an_u, 488s # gint64 *out_an_x, 488s # guint64 *out_an_t, 488s # gdouble *out_an_d, 488s # gchar **out_an_s, 488s # gchar **out_an_o, 488s # gchar **out_an_g, 488s # GVariant **out_an_h, 488s # gchar **out_an_ay, 488s # gchar ***out_an_as, 488s # gchar ***out_an_ao, 488s # gchar ***out_an_aay, 488s # GVariant **out_an_asv, 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # out_an_b, 488s # out_an_y, 488s # out_an_n, 488s # out_an_q, 488s # out_an_i, 488s # out_an_u, 488s # out_an_x, 488s # out_an_t, 488s # out_an_d, 488s # out_an_s, 488s # out_an_o, 488s # out_an_g, 488s # out_an_h, 488s # out_an_ay, 488s # out_an_as, 488s # out_an_ao, 488s # out_an_aay, 488s # out_an_asv); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_call_method_with_many_args_sync: 488s # * @proxy: A #OrgProjectCallableIfaceProxy. 488s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 488s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # org_project_callable_iface_call_method_with_many_args_sync ( 488s # OrgProjectCallableIface *proxy, 488s # gboolean *out_an_b, 488s # guchar *out_an_y, 488s # gint16 *out_an_n, 488s # guint16 *out_an_q, 488s # gint *out_an_i, 488s # guint *out_an_u, 488s # gint64 *out_an_x, 488s # guint64 *out_an_t, 488s # gdouble *out_an_d, 488s # gchar **out_an_s, 488s # gchar **out_an_o, 488s # gchar **out_an_g, 488s # GVariant **out_an_h, 488s # gchar **out_an_ay, 488s # gchar ***out_an_as, 488s # gchar ***out_an_ao, 488s # gchar ***out_an_aay, 488s # GVariant **out_an_asv, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 488s # "MethodWithManyArgs", 488s # g_variant_new ("()"), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # cancellable, 488s # error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # out_an_b, 488s # out_an_y, 488s # out_an_n, 488s # out_an_q, 488s # out_an_i, 488s # out_an_u, 488s # out_an_x, 488s # out_an_t, 488s # out_an_d, 488s # out_an_s, 488s # out_an_o, 488s # out_an_g, 488s # out_an_h, 488s # out_an_ay, 488s # out_an_as, 488s # out_an_ao, 488s # out_an_aay, 488s # out_an_asv); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_complete_method_with_many_args: 488s # * @object: A #OrgProjectCallableIface. 488s # * @invocation: (transfer full): A #GDBusMethodInvocation. 488s # * @an_b: Parameter to return. 488s # * @an_y: Parameter to return. 488s # * @an_n: Parameter to return. 488s # * @an_q: Parameter to return. 488s # * @an_i: Parameter to return. 488s # * @an_u: Parameter to return. 488s # * @an_x: Parameter to return. 488s # * @an_t: Parameter to return. 488s # * @an_d: Parameter to return. 488s # * @an_s: Parameter to return. 488s # * @an_o: Parameter to return. 488s # * @an_g: Parameter to return. 488s # * @an_h: Parameter to return. 488s # * @an_ay: Parameter to return. 488s # * @an_as: Parameter to return. 488s # * @an_ao: Parameter to return. 488s # * @an_aay: Parameter to return. 488s # * @an_asv: Parameter to return. 488s # * 488s # * 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. 488s # * 488s # * This method will free @invocation, you cannot use it afterwards. 488s # */ 488s # void 488s # org_project_callable_iface_complete_method_with_many_args ( 488s # OrgProjectCallableIface *object G_GNUC_UNUSED, 488s # GDBusMethodInvocation *invocation, 488s # gboolean an_b, 488s # guchar an_y, 488s # gint16 an_n, 488s # guint16 an_q, 488s # gint an_i, 488s # guint an_u, 488s # gint64 an_x, 488s # guint64 an_t, 488s # gdouble an_d, 488s # const gchar *an_s, 488s # const gchar *an_o, 488s # const gchar *an_g, 488s # GVariant *an_h, 488s # const gchar *an_ay, 488s # const gchar *const *an_as, 488s # const gchar *const *an_ao, 488s # const gchar *const *an_aay, 488s # GVariant *an_asv) 488s # { 488s # g_dbus_method_invocation_return_value (invocation, 488s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # an_b, 488s # an_y, 488s # an_n, 488s # an_q, 488s # an_i, 488s # an_u, 488s # an_x, 488s # an_t, 488s # an_d, 488s # an_s, 488s # an_o, 488s # an_g, 488s # an_h, 488s # an_ay, 488s # an_as, 488s # an_ao, 488s # an_aay, 488s # an_asv)); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectCallableIfaceProxy: 488s # * 488s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectCallableIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectCallableIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectCallableIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_callable_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_callable_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_callable_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_CALLABLE_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectCallableIfaceSkeleton: 488s # * 488s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectCallableIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectCallableIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectCallableIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_callable_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_callable_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_callable_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 488s # { 488s # _org_project_callable_iface_skeleton_handle_method_call, 488s # _org_project_callable_iface_skeleton_handle_get_property, 488s # _org_project_callable_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_callable_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_callable_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_callable_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectCallableIface * 488s # org_project_callable_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 488s # } 488s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 488s # tmpdir: /tmp/tmp3_zukv35 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp3_zukv35/tmplj1bd7lz.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3_zukv35/tmplj1bd7lz.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 488s # (void *data1, 488s # GUnixFDList *arg_fd_list, 488s # GDBusMethodInvocation *arg_method_invocation, 488s # const gchar *arg_greeting, 488s # void *data2); 488s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # gboolean v_return; 488s # 488s # g_return_if_fail (return_value != NULL); 488s # g_return_if_fail (n_param_values == 4); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # v_return = 488s # callback (data1, 488s # g_marshal_value_peek_object (param_values + 1), 488s # g_marshal_value_peek_object (param_values + 2), 488s # g_marshal_value_peek_string (param_values + 3), 488s # data2); 488s # 488s # g_value_set_boolean (return_value, v_return); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface test.FDPassing 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:TestFDPassing 488s # * @title: TestFDPassing 488s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 488s # * 488s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 488s # */ 488s # 488s # /* ---- Introspection data for test.FDPassing ---- */ 488s # 488s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 488s # { 488s # { 488s # -1, 488s # (gchar *) "greeting", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 488s # { 488s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 488s # { 488s # { 488s # -1, 488s # (gchar *) "response", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 488s # { 488s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 488s # { 488s # { 488s # -1, 488s # (gchar *) "HelloFD", 488s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 488s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 488s # NULL 488s # }, 488s # "handle-hello-fd", 488s # TRUE 488s # }; 488s # 488s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 488s # { 488s # &_test_fdpassing_method_info_hello_fd.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "test.FDPassing", 488s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 488s # NULL, 488s # NULL, 488s # NULL 488s # }, 488s # "test-fdpassing", 488s # }; 488s # 488s # 488s # /** 488s # * test_fdpassing_interface_info: 488s # * 488s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # test_fdpassing_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * test_fdpassing_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # test_fdpassing_method_marshal_hello_fd ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * TestFDPassing: 488s # * 488s # * Abstract interface type for the D-Bus interface test.FDPassing. 488s # */ 488s # 488s # /** 488s # * TestFDPassingIface: 488s # * @parent_iface: The parent interface. 488s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 488s # * 488s # * Virtual table for the D-Bus interface test.FDPassing. 488s # */ 488s # 488s # typedef TestFDPassingIface TestFDPassingInterface; 488s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 488s # 488s # static void 488s # test_fdpassing_default_init (TestFDPassingIface *iface) 488s # { 488s # /* GObject signals for incoming D-Bus method calls: */ 488s # /** 488s # * TestFDPassing::handle-hello-fd: 488s # * @object: A #TestFDPassing. 488s # * @invocation: A #GDBusMethodInvocation. 488s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 488s # * @arg_greeting: Argument passed by remote caller. 488s # * 488s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 488s # * 488s # * 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. 488s # * 488s # * 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. 488s # */ 488s # g_signal_new ("handle-hello-fd", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 488s # g_signal_accumulator_true_handled, 488s # NULL, 488s # test_fdpassing_method_marshal_hello_fd, 488s # G_TYPE_BOOLEAN, 488s # 3, 488s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 488s # 488s # } 488s # 488s # /** 488s # * test_fdpassing_call_hello_fd: 488s # * @proxy: A #TestFDPassingProxy. 488s # * @arg_greeting: Argument to pass with the method invocation. 488s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 488s # * 488s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 488s # */ 488s # void 488s # test_fdpassing_call_hello_fd ( 488s # TestFDPassing *proxy, 488s # const gchar *arg_greeting, 488s # GUnixFDList *fd_list, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 488s # "HelloFD", 488s # g_variant_new ("(s)", 488s # arg_greeting), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # fd_list, 488s # cancellable, 488s # callback, 488s # user_data); 488s # } 488s # 488s # /** 488s # * test_fdpassing_call_hello_fd_finish: 488s # * @proxy: A #TestFDPassingProxy. 488s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # test_fdpassing_call_hello_fd_finish ( 488s # TestFDPassing *proxy, 488s # gchar **out_response, 488s # GUnixFDList **out_fd_list, 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "(s)", 488s # out_response); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * test_fdpassing_call_hello_fd_sync: 488s # * @proxy: A #TestFDPassingProxy. 488s # * @arg_greeting: Argument to pass with the method invocation. 488s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 488s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 488s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL. 488s # * 488s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 488s # * 488s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 488s # * 488s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 488s # */ 488s # gboolean 488s # test_fdpassing_call_hello_fd_sync ( 488s # TestFDPassing *proxy, 488s # const gchar *arg_greeting, 488s # GUnixFDList *fd_list, 488s # gchar **out_response, 488s # GUnixFDList **out_fd_list, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GVariant *_ret; 488s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 488s # "HelloFD", 488s # g_variant_new ("(s)", 488s # arg_greeting), 488s # G_DBUS_CALL_FLAGS_NONE, 488s # -1, 488s # fd_list, 488s # out_fd_list, 488s # cancellable, 488s # error); 488s # if (_ret == NULL) 488s # goto _out; 488s # g_variant_get (_ret, 488s # "(s)", 488s # out_response); 488s # g_variant_unref (_ret); 488s # _out: 488s # return _ret != NULL; 488s # } 488s # 488s # /** 488s # * test_fdpassing_complete_hello_fd: 488s # * @object: A #TestFDPassing. 488s # * @invocation: (transfer full): A #GDBusMethodInvocation. 488s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 488s # * @response: Parameter to return. 488s # * 488s # * 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. 488s # * 488s # * This method will free @invocation, you cannot use it afterwards. 488s # */ 488s # void 488s # test_fdpassing_complete_hello_fd ( 488s # TestFDPassing *object G_GNUC_UNUSED, 488s # GDBusMethodInvocation *invocation, 488s # GUnixFDList *fd_list, 488s # const gchar *response) 488s # { 488s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 488s # g_variant_new ("(s)", 488s # response), 488s # fd_list); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * TestFDPassingProxy: 488s # * 488s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * TestFDPassingProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #TestFDPassingProxy. 488s # */ 488s # 488s # struct _TestFDPassingProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (TestFDPassingProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # test_fdpassing_proxy_finalize (GObject *object) 488s # { 488s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = test_fdpassing_proxy_finalize; 488s # gobject_class->get_property = test_fdpassing_proxy_get_property; 488s # gobject_class->set_property = test_fdpassing_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 488s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * test_fdpassing_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # test_fdpassing_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * test_fdpassing_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with test_fdpassing_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # TestFDPassing * 488s # test_fdpassing_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return TEST_FDPASSING (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * test_fdpassing_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # TestFDPassing * 488s # test_fdpassing_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return TEST_FDPASSING (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * test_fdpassing_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # test_fdpassing_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * test_fdpassing_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # TestFDPassing * 488s # test_fdpassing_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return TEST_FDPASSING (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * test_fdpassing_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # TestFDPassing * 488s # test_fdpassing_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return TEST_FDPASSING (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * TestFDPassingSkeleton: 488s # * 488s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * TestFDPassingSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #TestFDPassingSkeleton. 488s # */ 488s # 488s # struct _TestFDPassingSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _test_fdpassing_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _test_fdpassing_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _test_fdpassing_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 488s # { 488s # _test_fdpassing_skeleton_handle_method_call, 488s # _test_fdpassing_skeleton_handle_get_property, 488s # _test_fdpassing_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return test_fdpassing_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (TestFDPassingSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # test_fdpassing_skeleton_finalize (GObject *object) 488s # { 488s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * test_fdpassing_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 488s # * 488s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 488s # */ 488s # TestFDPassing * 488s # test_fdpassing_skeleton_new (void) 488s # { 488s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 488s # } 488s ok 15 __main__.TestCodegen.test_generate_rst 488s # tmpdir: /tmp/tmp0e3zq3ai 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp0e3zq3ai/tmpq_0uz4p7.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0e3zq3ai/tmpq_0uz4p7.xml', '--generate-rst', 'test'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: 488s ok 16 __main__.TestCodegen.test_generate_rst_method 488s # tmpdir: /tmp/tmpzb92mw1h 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpzb92mw1h/tmpksv0ne6u.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzb92mw1h/tmpksv0ne6u.xml', '--generate-rst', 'test'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: 488s ok 17 __main__.TestCodegen.test_generate_rst_property 488s # tmpdir: /tmp/tmp4r72swms 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp4r72swms/tmpncuo7xg1.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4r72swms/tmpncuo7xg1.xml', '--generate-rst', 'test'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: 488s ok 18 __main__.TestCodegen.test_generate_rst_signal 488s # tmpdir: /tmp/tmps6hvg4qv 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmps6hvg4qv/tmpy6oikoji.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps6hvg4qv/tmpy6oikoji.xml', '--generate-rst', 'test'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: 488s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 488s # tmpdir: /tmp/tmp7m88q_g8 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp7m88q_g8/tmpj0h3lhf7.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7m88q_g8/tmpj0h3lhf7.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 488s # (void *data1, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 19); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_boolean (param_values + 1), 488s # g_marshal_value_peek_uchar (param_values + 2), 488s # g_marshal_value_peek_int (param_values + 3), 488s # g_marshal_value_peek_uint (param_values + 4), 488s # g_marshal_value_peek_int (param_values + 5), 488s # g_marshal_value_peek_uint (param_values + 6), 488s # g_marshal_value_peek_int64 (param_values + 7), 488s # g_marshal_value_peek_uint64 (param_values + 8), 488s # g_marshal_value_peek_double (param_values + 9), 488s # g_marshal_value_peek_string (param_values + 10), 488s # g_marshal_value_peek_string (param_values + 11), 488s # g_marshal_value_peek_string (param_values + 12), 488s # g_marshal_value_peek_variant (param_values + 13), 488s # g_marshal_value_peek_string (param_values + 14), 488s # g_marshal_value_peek_boxed (param_values + 15), 488s # g_marshal_value_peek_boxed (param_values + 16), 488s # g_marshal_value_peek_boxed (param_values + 17), 488s # g_marshal_value_peek_variant (param_values + 18), 488s # data2); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SignalWithManyArgs", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 488s # NULL 488s # }, 488s # "signal-with-many-args" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::signal-with-many-args: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument. 488s # * @arg_an_y: Argument. 488s # * @arg_an_n: Argument. 488s # * @arg_an_q: Argument. 488s # * @arg_an_i: Argument. 488s # * @arg_an_u: Argument. 488s # * @arg_an_x: Argument. 488s # * @arg_an_t: Argument. 488s # * @arg_an_d: Argument. 488s # * @arg_an_s: Argument. 488s # * @arg_an_o: Argument. 488s # * @arg_an_g: Argument. 488s # * @arg_an_h: Argument. 488s # * @arg_an_ay: Argument. 488s # * @arg_an_as: Argument. 488s # * @arg_an_ao: Argument. 488s # * @arg_an_aay: Argument. 488s # * @arg_an_asv: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 488s # g_signal_new ("signal-with-many-args", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 488s # G_TYPE_NONE, 488s # 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); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_signal_with_many_args: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument to pass with the signal. 488s # * @arg_an_y: Argument to pass with the signal. 488s # * @arg_an_n: Argument to pass with the signal. 488s # * @arg_an_q: Argument to pass with the signal. 488s # * @arg_an_i: Argument to pass with the signal. 488s # * @arg_an_u: Argument to pass with the signal. 488s # * @arg_an_x: Argument to pass with the signal. 488s # * @arg_an_t: Argument to pass with the signal. 488s # * @arg_an_d: Argument to pass with the signal. 488s # * @arg_an_s: Argument to pass with the signal. 488s # * @arg_an_o: Argument to pass with the signal. 488s # * @arg_an_g: Argument to pass with the signal. 488s # * @arg_an_h: Argument to pass with the signal. 488s # * @arg_an_ay: Argument to pass with the signal. 488s # * @arg_an_as: Argument to pass with the signal. 488s # * @arg_an_ao: Argument to pass with the signal. 488s # * @arg_an_aay: Argument to pass with the signal. 488s # * @arg_an_asv: Argument to pass with the signal. 488s # * 488s # * Emits the "SignalWithManyArgs" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_signal_with_many_args ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv) 488s # { 488s # 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); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # arg_an_b, 488s # arg_an_y, 488s # arg_an_n, 488s # arg_an_q, 488s # arg_an_i, 488s # arg_an_u, 488s # arg_an_x, 488s # arg_an_t, 488s # arg_an_d, 488s # arg_an_s, 488s # arg_an_o, 488s # arg_an_g, 488s # arg_an_h, 488s # arg_an_ay, 488s # arg_an_as, 488s # arg_an_ao, 488s # arg_an_aay, 488s # arg_an_asv)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 488s # tmpdir: /tmp/tmpu8k47p_d 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpu8k47p_d/tmphyhi6dsh.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8k47p_d/tmphyhi6dsh.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__INT64 ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 488s # (void *data1, 488s # gint64 arg_an_x, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_Int64Func callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 2); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_int64 (param_values + 1), 488s # data2); 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__UINT64 ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 488s # (void *data1, 488s # guint64 arg_an_t, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_Uint64Func callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 2); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_uint64 (param_values + 1), 488s # data2); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "NoArgSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "no-arg-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalB", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-b" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalY", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-y" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalN", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-n" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalQ", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-q" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalI", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-i" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalU", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-u" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalX", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-x" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalT", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-t" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalD", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-d" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalS", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-s" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalO", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-o" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalG", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-g" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalH", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-h" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAY", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-ay" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAS", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-as" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAO", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-ao" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAAY", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-aay" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalASV", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-asv" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOOLEAN (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UCHAR (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__INT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UINT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__INT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UINT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__DOUBLE (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 488s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 488s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 488s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 488s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 488s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 488s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 488s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 488s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 488s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 488s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 488s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 488s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 488s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 488s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 488s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 488s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 488s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 488s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::no-arg-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 488s # g_signal_new ("no-arg-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_no_arg_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-b: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 488s # g_signal_new ("single-arg-signal-b", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_BOOLEAN); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-y: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_y: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 488s # g_signal_new ("single-arg-signal-y", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UCHAR); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-n: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_n: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 488s # g_signal_new ("single-arg-signal-n", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-q: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_q: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 488s # g_signal_new ("single-arg-signal-q", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-i: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_i: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 488s # g_signal_new ("single-arg-signal-i", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-u: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_u: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 488s # g_signal_new ("single-arg-signal-u", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-x: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_x: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 488s # g_signal_new ("single-arg-signal-x", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT64); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-t: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_t: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 488s # g_signal_new ("single-arg-signal-t", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT64); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-d: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_d: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 488s # g_signal_new ("single-arg-signal-d", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_DOUBLE); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-s: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_s: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 488s # g_signal_new ("single-arg-signal-s", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-o: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_o: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 488s # g_signal_new ("single-arg-signal-o", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-g: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_g: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 488s # g_signal_new ("single-arg-signal-g", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-h: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_h: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 488s # g_signal_new ("single-arg-signal-h", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_VARIANT); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-ay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_ay: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 488s # g_signal_new ("single-arg-signal-ay", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-as: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_as: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 488s # g_signal_new ("single-arg-signal-as", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-ao: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_ao: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 488s # g_signal_new ("single-arg-signal-ao", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-aay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_aay: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 488s # g_signal_new ("single-arg-signal-aay", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-asv: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_asv: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 488s # g_signal_new ("single-arg-signal-asv", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_VARIANT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_no_arg_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "NoArgSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_no_arg_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_b: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalB" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_b ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_y: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_y: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalY" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_y ( 488s # OrgProjectSignalingIface *object, 488s # guchar arg_an_y) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_n: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_n: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalN" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_n ( 488s # OrgProjectSignalingIface *object, 488s # gint16 arg_an_n) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_q: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_q: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalQ" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_q ( 488s # OrgProjectSignalingIface *object, 488s # guint16 arg_an_q) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_i: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_i: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalI" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_i ( 488s # OrgProjectSignalingIface *object, 488s # gint arg_an_i) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_u: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_u: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalU" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_u ( 488s # OrgProjectSignalingIface *object, 488s # guint arg_an_u) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_x: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_x: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalX" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_x ( 488s # OrgProjectSignalingIface *object, 488s # gint64 arg_an_x) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_t: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_t: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalT" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_t ( 488s # OrgProjectSignalingIface *object, 488s # guint64 arg_an_t) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_d: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_d: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalD" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_d ( 488s # OrgProjectSignalingIface *object, 488s # gdouble arg_an_d) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_s: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_s: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalS" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_s ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_s) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_o: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_o: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalO" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_o ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_o) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_g: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_g: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalG" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_g ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_g) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_h: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_h: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalH" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_h ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_an_h) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_ay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_ay: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAY" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_ay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_ay) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_as: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_as: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAS" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_as ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_as) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_ao: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_ao: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAO" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_ao ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_ao) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_aay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_aay: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAAY" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_aay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_aay) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_asv: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_asv: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalASV" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_asv ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_an_asv) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_no_arg_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 488s # arg_an_b)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 488s # OrgProjectSignalingIface *object, 488s # guchar arg_an_y) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 488s # arg_an_y)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 488s # OrgProjectSignalingIface *object, 488s # gint16 arg_an_n) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 488s # arg_an_n)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 488s # OrgProjectSignalingIface *object, 488s # guint16 arg_an_q) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 488s # arg_an_q)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 488s # OrgProjectSignalingIface *object, 488s # gint arg_an_i) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 488s # arg_an_i)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 488s # OrgProjectSignalingIface *object, 488s # guint arg_an_u) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 488s # arg_an_u)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 488s # OrgProjectSignalingIface *object, 488s # gint64 arg_an_x) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 488s # arg_an_x)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 488s # OrgProjectSignalingIface *object, 488s # guint64 arg_an_t) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 488s # arg_an_t)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 488s # OrgProjectSignalingIface *object, 488s # gdouble arg_an_d) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 488s # arg_an_d)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_s) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 488s # arg_an_s)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_o) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 488s # arg_an_o)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_g) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 488s # arg_an_g)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_an_h) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 488s # arg_an_h)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_an_ay) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 488s # arg_an_ay)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_as) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 488s # arg_an_as)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_ao) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 488s # arg_an_ao)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_an_aay) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 488s # arg_an_aay)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_an_asv) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 488s # arg_an_asv)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 488s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 488s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 488s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 488s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 488s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 488s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 488s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 488s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 488s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 488s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 488s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 488s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 488s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 488s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 488s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 488s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 488s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 488s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 488s # tmpdir: /tmp/tmp8gpuzj_b 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp8gpuzj_b/tmpq2mh34dk.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gpuzj_b/tmpq2mh34dk.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.UsefulInterface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectUsefulInterface 488s # * @title: OrgProjectUsefulInterface 488s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 488s # { 488s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.UsefulInterface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-useful-interface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_useful_interface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_useful_interface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_useful_interface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectUsefulInterface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 488s # */ 488s # 488s # /** 488s # * OrgProjectUsefulInterfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 488s # */ 488s # 488s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectUsefulInterface::simple-signal: 488s # * @object: A #OrgProjectUsefulInterface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_useful_interface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_emit_simple_signal: 488s # * @object: A #OrgProjectUsefulInterface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_useful_interface_emit_simple_signal ( 488s # OrgProjectUsefulInterface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectUsefulInterfaceProxy: 488s # * 488s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectUsefulInterfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectUsefulInterfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectUsefulInterfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_useful_interface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 488s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 488s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_useful_interface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # g_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); 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectUsefulInterface * 488s # org_project_useful_interface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectUsefulInterface * 488s # org_project_useful_interface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_useful_interface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # g_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); 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectUsefulInterface * 488s # org_project_useful_interface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectUsefulInterface * 488s # org_project_useful_interface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectUsefulInterfaceSkeleton: 488s # * 488s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectUsefulInterfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_useful_interface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_useful_interface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_useful_interface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 488s # { 488s # _org_project_useful_interface_skeleton_handle_method_call, 488s # _org_project_useful_interface_skeleton_handle_get_property, 488s # _org_project_useful_interface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_useful_interface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_useful_interface_on_signal_simple_signal ( 488s # OrgProjectUsefulInterface *object) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_useful_interface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 488s # } 488s # 488s # /** 488s # * org_project_useful_interface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectUsefulInterface * 488s # org_project_useful_interface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.OtherIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectOtherIface 488s # * @title: OrgProjectOtherIface 488s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.OtherIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.OtherIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-other-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_other_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_other_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_other_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_other_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectOtherIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.OtherIface. 488s # */ 488s # 488s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectOtherIface::simple-signal: 488s # * @object: A #OrgProjectOtherIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_other_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # } 488s # 488s # /** 488s # * org_project_other_iface_emit_simple_signal: 488s # * @object: A #OrgProjectOtherIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_other_iface_emit_simple_signal ( 488s # OrgProjectOtherIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherIfaceProxy: 488s # * 488s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectOtherIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_other_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherIface * 488s # org_project_other_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherIface * 488s # org_project_other_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_other_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherIface * 488s # org_project_other_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherIface * 488s # org_project_other_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherIfaceSkeleton: 488s # * 488s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectOtherIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_other_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_other_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_other_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 488s # { 488s # _org_project_other_iface_skeleton_handle_method_call, 488s # _org_project_other_iface_skeleton_handle_get_property, 488s # _org_project_other_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_other_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_other_iface_on_signal_simple_signal ( 488s # OrgProjectOtherIface *object) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 488s # } 488s # 488s # /** 488s # * org_project_other_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectOtherIface * 488s # org_project_other_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 488s # } 488s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 488s # tmpdir: /tmp/tmpu8c3aafd 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpu8c3aafd/tmpjx9q3e9l.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8c3aafd/tmpjx9q3e9l.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.OtherSignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectOtherSignalingIface 488s # * @title: OrgProjectOtherSignalingIface 488s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.OtherSignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-other-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_other_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_other_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectOtherSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 488s # */ 488s # 488s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectOtherSignalingIface::simple-signal: 488s # * @object: A #OrgProjectOtherSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_other_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectOtherSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_other_signaling_iface_emit_simple_signal ( 488s # OrgProjectOtherSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherSignalingIface * 488s # org_project_other_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherSignalingIface * 488s # org_project_other_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_other_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherSignalingIface * 488s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectOtherSignalingIface * 488s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectOtherSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectOtherSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_other_signaling_iface_skeleton_handle_method_call, 488s # _org_project_other_signaling_iface_skeleton_handle_get_property, 488s # _org_project_other_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_other_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_other_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectOtherSignalingIface *object) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 488s # } 488s # 488s # /** 488s # * org_project_other_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectOtherSignalingIface * 488s # org_project_other_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 488s # tmpdir: /tmp/tmp4brbslx0 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp4brbslx0/tmpur1ju8q1.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpur1ju8q1.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalB", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-b" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOOLEAN (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-b: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_b: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 488s # g_signal_new ("single-arg-signal-b", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_BOOLEAN); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_b: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_b: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalB" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_b ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_arg_b) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_arg_b) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 488s # arg_arg_b)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpi9jlcil7.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpi9jlcil7.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalY", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-y" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UCHAR (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-y: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_y: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 488s # g_signal_new ("single-arg-signal-y", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UCHAR); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_y: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_y: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalY" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_y ( 488s # OrgProjectSignalingIface *object, 488s # guchar arg_arg_y) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 488s # OrgProjectSignalingIface *object, 488s # guchar arg_arg_y) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 488s # arg_arg_y)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmprh5qzv22.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmprh5qzv22.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalN", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-n" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__INT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-n: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_n: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 488s # g_signal_new ("single-arg-signal-n", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_n: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_n: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalN" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_n ( 488s # OrgProjectSignalingIface *object, 488s # gint16 arg_arg_n) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 488s # OrgProjectSignalingIface *object, 488s # gint16 arg_arg_n) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 488s # arg_arg_n)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpusg5fytx.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpusg5fytx.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalQ", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-q" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UINT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-q: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_q: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 488s # g_signal_new ("single-arg-signal-q", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_q: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_q: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalQ" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_q ( 488s # OrgProjectSignalingIface *object, 488s # guint16 arg_arg_q) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 488s # OrgProjectSignalingIface *object, 488s # guint16 arg_arg_q) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 488s # arg_arg_q)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmph2npcmws.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmph2npcmws.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalI", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-i" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__INT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-i: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_i: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 488s # g_signal_new ("single-arg-signal-i", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_i: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_i: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalI" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_i ( 488s # OrgProjectSignalingIface *object, 488s # gint arg_arg_i) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 488s # OrgProjectSignalingIface *object, 488s # gint arg_arg_i) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 488s # arg_arg_i)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmphgexhhxm.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmphgexhhxm.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalU", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-u" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__UINT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-u: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_u: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 488s # g_signal_new ("single-arg-signal-u", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_u: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_u: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalU" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_u ( 488s # OrgProjectSignalingIface *object, 488s # guint arg_arg_u) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 488s # OrgProjectSignalingIface *object, 488s # guint arg_arg_u) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 488s # arg_arg_u)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmp8hqtvcne.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmp8hqtvcne.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__INT64 ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 488s # (void *data1, 488s # gint64 arg_arg_x, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_Int64Func callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 2); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_int64 (param_values + 1), 488s # data2); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalX", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-x" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-x: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_x: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 488s # g_signal_new ("single-arg-signal-x", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_INT64); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_x: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_x: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalX" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_x ( 488s # OrgProjectSignalingIface *object, 488s # gint64 arg_arg_x) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 488s # OrgProjectSignalingIface *object, 488s # gint64 arg_arg_x) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 488s # arg_arg_x)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpu0dsmshy.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpu0dsmshy.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__UINT64 ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 488s # (void *data1, 488s # guint64 arg_arg_t, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_Uint64Func callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 2); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_uint64 (param_values + 1), 488s # data2); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalT", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-t" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-t: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_t: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 488s # g_signal_new ("single-arg-signal-t", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_UINT64); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_t: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_t: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalT" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_t ( 488s # OrgProjectSignalingIface *object, 488s # guint64 arg_arg_t) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 488s # OrgProjectSignalingIface *object, 488s # guint64 arg_arg_t) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 488s # arg_arg_t)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmp407kru8j.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmp407kru8j.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalD", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-d" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__DOUBLE (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-d: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_d: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 488s # g_signal_new ("single-arg-signal-d", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_DOUBLE); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_d: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_d: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalD" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_d ( 488s # OrgProjectSignalingIface *object, 488s # gdouble arg_arg_d) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 488s # OrgProjectSignalingIface *object, 488s # gdouble arg_arg_d) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 488s # arg_arg_d)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpn_6uytwj.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpn_6uytwj.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalS", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-s" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-s: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_s: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 488s # g_signal_new ("single-arg-signal-s", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_s: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_s: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalS" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_s ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_s) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_s) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 488s # arg_arg_s)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmp3d7b60jr.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmp3d7b60jr.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalO", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-o" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-o: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_o: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 488s # g_signal_new ("single-arg-signal-o", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_o: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_o: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalO" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_o ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_o) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_o) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 488s # arg_arg_o)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpdr_ks9i9.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpdr_ks9i9.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalG", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-g" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-g: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_g: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 488s # g_signal_new ("single-arg-signal-g", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_g: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_g: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalG" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_g ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_g) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_g) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 488s # arg_arg_g)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpdytd2l3y.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpdytd2l3y.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalH", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-h" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-h: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_h: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 488s # g_signal_new ("single-arg-signal-h", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_VARIANT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_h: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_h: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalH" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_h ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_arg_h) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_arg_h) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 488s # arg_arg_h)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmp0ysbzl02.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmp0ysbzl02.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAy", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-ay" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__STRING (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-ay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_ay: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 488s # g_signal_new ("single-arg-signal-ay", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRING); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_ay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_ay: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAy" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_ay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_ay) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *arg_arg_ay) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 488s # arg_arg_ay)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpvce9vv1p.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpvce9vv1p.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAs", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-as" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-as: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_as: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 488s # g_signal_new ("single-arg-signal-as", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_as: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_as: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAs" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_as ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_as) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_as) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 488s # arg_arg_as)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpdeo9pn8n.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpdeo9pn8n.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAo", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-ao" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-ao: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_ao: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 488s # g_signal_new ("single-arg-signal-ao", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_ao: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_ao: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAo" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_ao ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_ao) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_ao) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 488s # arg_arg_ao)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpsd8j5ibl.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpsd8j5ibl.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAay", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-aay" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__BOXED (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-aay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_aay: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 488s # g_signal_new ("single-arg-signal-aay", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_STRV); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_aay: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_aay: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAay" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_aay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_aay) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 488s # OrgProjectSignalingIface *object, 488s # const gchar *const *arg_arg_aay) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 488s # arg_arg_aay)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s # /tmp/tmp4brbslx0/tmpkpkgmrza.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4brbslx0/tmpkpkgmrza.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "arg_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SingleArgSignalAsv", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 488s # NULL 488s # }, 488s # "single-arg-signal-asv" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::single-arg-signal-asv: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_asv: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 488s # g_signal_new ("single-arg-signal-asv", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 488s # G_TYPE_NONE, 488s # 1, G_TYPE_VARIANT); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_single_arg_signal_asv: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_arg_asv: Argument to pass with the signal. 488s # * 488s # * Emits the "SingleArgSignalAsv" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_single_arg_signal_asv ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_arg_asv) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 488s # OrgProjectSignalingIface *object, 488s # GVariant *arg_arg_asv) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 488s # arg_arg_asv)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 488s # tmpdir: /tmp/tmpygha7toh 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpygha7toh/tmpo6jkyfan.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpygha7toh/tmpo6jkyfan.xml', '--output', '-', '--body'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifdef HAVE_CONFIG_H 488s # # include "config.h" 488s # #endif 488s # 488s # #include 488s # #ifdef G_OS_UNIX 488s # # include 488s # #endif 488s # 488s # #ifdef G_ENABLE_DEBUG 488s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 488s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 488s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 488s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 488s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 488s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 488s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 488s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 488s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 488s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 488s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 488s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 488s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 488s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 488s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 488s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 488s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 488s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 488s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 488s # #else /* !G_ENABLE_DEBUG */ 488s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 488s # * Do not access GValues directly in your code. Instead, use the 488s # * g_value_get_*() functions 488s # */ 488s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 488s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 488s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 488s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 488s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 488s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 488s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 488s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 488s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 488s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 488s # #endif /* !G_ENABLE_DEBUG */ 488s # 488s # typedef struct 488s # { 488s # GDBusArgInfo parent_struct; 488s # gboolean use_gvariant; 488s # } _ExtendedGDBusArgInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusMethodInfo parent_struct; 488s # const gchar *signal_name; 488s # gboolean pass_fdlist; 488s # } _ExtendedGDBusMethodInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusSignalInfo parent_struct; 488s # const gchar *signal_name; 488s # } _ExtendedGDBusSignalInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusPropertyInfo parent_struct; 488s # const gchar *hyphen_name; 488s # guint use_gvariant : 1; 488s # guint emits_changed_signal : 1; 488s # } _ExtendedGDBusPropertyInfo; 488s # 488s # typedef struct 488s # { 488s # GDBusInterfaceInfo parent_struct; 488s # const gchar *hyphen_name; 488s # } _ExtendedGDBusInterfaceInfo; 488s # 488s # typedef struct 488s # { 488s # const _ExtendedGDBusPropertyInfo *info; 488s # guint prop_id; 488s # GValue orig_value; /* the value before the change */ 488s # } ChangedProperty; 488s # 488s # static void 488s # _changed_property_free (ChangedProperty *data) 488s # { 488s # g_value_unset (&data->orig_value); 488s # g_free (data); 488s # } 488s # 488s # static gboolean 488s # _g_strv_equal0 (gchar **a, gchar **b) 488s # { 488s # gboolean ret = FALSE; 488s # guint n; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # if (g_strv_length (a) != g_strv_length (b)) 488s # goto out; 488s # for (n = 0; a[n] != NULL; n++) 488s # if (g_strcmp0 (a[n], b[n]) != 0) 488s # goto out; 488s # ret = TRUE; 488s # out: 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _g_variant_equal0 (GVariant *a, GVariant *b) 488s # { 488s # gboolean ret = FALSE; 488s # if (a == NULL && b == NULL) 488s # { 488s # ret = TRUE; 488s # goto out; 488s # } 488s # if (a == NULL || b == NULL) 488s # goto out; 488s # ret = g_variant_equal (a, b); 488s # out: 488s # return ret; 488s # } 488s # 488s # G_GNUC_UNUSED static gboolean 488s # _g_value_equal (const GValue *a, const GValue *b) 488s # { 488s # gboolean ret = FALSE; 488s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 488s # switch (G_VALUE_TYPE (a)) 488s # { 488s # case G_TYPE_BOOLEAN: 488s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 488s # break; 488s # case G_TYPE_UCHAR: 488s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 488s # break; 488s # case G_TYPE_INT: 488s # ret = (g_value_get_int (a) == g_value_get_int (b)); 488s # break; 488s # case G_TYPE_UINT: 488s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 488s # break; 488s # case G_TYPE_INT64: 488s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 488s # break; 488s # case G_TYPE_UINT64: 488s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 488s # break; 488s # case G_TYPE_DOUBLE: 488s # { 488s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 488s # gdouble da = g_value_get_double (a); 488s # gdouble db = g_value_get_double (b); 488s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 488s # } 488s # break; 488s # case G_TYPE_STRING: 488s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 488s # break; 488s # case G_TYPE_VARIANT: 488s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 488s # break; 488s # default: 488s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 488s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 488s # else 488s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 488s # break; 488s # } 488s # return ret; 488s # } 488s # 488s # static void 488s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 488s # GClosure *closure, 488s # GValue *return_value G_GNUC_UNUSED, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint G_GNUC_UNUSED, 488s # void *marshal_data) 488s # { 488s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 488s # (void *data1, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv, 488s # void *data2); 488s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 488s # GCClosure *cc = (GCClosure*) closure; 488s # void *data1, *data2; 488s # 488s # g_return_if_fail (n_param_values == 19); 488s # 488s # if (G_CCLOSURE_SWAP_DATA (closure)) 488s # { 488s # data1 = closure->data; 488s # data2 = g_value_peek_pointer (param_values + 0); 488s # } 488s # else 488s # { 488s # data1 = g_value_peek_pointer (param_values + 0); 488s # data2 = closure->data; 488s # } 488s # 488s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 488s # (marshal_data ? marshal_data : cc->callback); 488s # 488s # callback (data1, 488s # g_marshal_value_peek_boolean (param_values + 1), 488s # g_marshal_value_peek_uchar (param_values + 2), 488s # g_marshal_value_peek_int (param_values + 3), 488s # g_marshal_value_peek_uint (param_values + 4), 488s # g_marshal_value_peek_int (param_values + 5), 488s # g_marshal_value_peek_uint (param_values + 6), 488s # g_marshal_value_peek_int64 (param_values + 7), 488s # g_marshal_value_peek_uint64 (param_values + 8), 488s # g_marshal_value_peek_double (param_values + 9), 488s # g_marshal_value_peek_string (param_values + 10), 488s # g_marshal_value_peek_string (param_values + 11), 488s # g_marshal_value_peek_string (param_values + 12), 488s # g_marshal_value_peek_variant (param_values + 13), 488s # g_marshal_value_peek_string (param_values + 14), 488s # g_marshal_value_peek_boxed (param_values + 15), 488s # g_marshal_value_peek_boxed (param_values + 16), 488s # g_marshal_value_peek_boxed (param_values + 17), 488s # g_marshal_value_peek_variant (param_values + 18), 488s # data2); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ 488s # * Code for interface org.project.SignalingIface 488s # * ------------------------------------------------------------------------ 488s # */ 488s # 488s # /** 488s # * SECTION:OrgProjectSignalingIface 488s # * @title: OrgProjectSignalingIface 488s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 488s # * 488s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 488s # */ 488s # 488s # enum 488s # { 488s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 488s # }; 488s # 488s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 488s # 488s # /* ---- Introspection data for org.project.SignalingIface ---- */ 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SimpleSignal", 488s # NULL, 488s # NULL 488s # }, 488s # "simple-signal" 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_b", 488s # (gchar *) "b", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_y", 488s # (gchar *) "y", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_n", 488s # (gchar *) "n", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_q", 488s # (gchar *) "q", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_i", 488s # (gchar *) "i", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_u", 488s # (gchar *) "u", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_x", 488s # (gchar *) "x", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_t", 488s # (gchar *) "t", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_d", 488s # (gchar *) "d", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_s", 488s # (gchar *) "s", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_o", 488s # (gchar *) "o", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_g", 488s # (gchar *) "g", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_h", 488s # (gchar *) "h", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ay", 488s # (gchar *) "ay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_as", 488s # (gchar *) "as", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_ao", 488s # (gchar *) "ao", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_aay", 488s # (gchar *) "aay", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 488s # { 488s # { 488s # -1, 488s # (gchar *) "an_asv", 488s # (gchar *) "a{sv}", 488s # NULL 488s # }, 488s # FALSE 488s # }; 488s # 488s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 488s # { 488s # { 488s # -1, 488s # (gchar *) "SignalWithManyArgs", 488s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 488s # NULL 488s # }, 488s # "signal-with-many-args" 488s # }; 488s # 488s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 488s # { 488s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 488s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 488s # NULL 488s # }; 488s # 488s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 488s # { 488s # { 488s # -1, 488s # (gchar *) "org.project.SignalingIface", 488s # NULL, 488s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 488s # NULL, 488s # NULL 488s # }, 488s # "org-project-signaling-iface", 488s # }; 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_interface_info: 488s # * 488s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 488s # * 488s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 488s # */ 488s # GDBusInterfaceInfo * 488s # org_project_signaling_iface_interface_info (void) 488s # { 488s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_override_properties: 488s # * @klass: The class structure for a #GObject derived class. 488s # * @property_id_begin: The property id to assign to the first overridden property. 488s # * 488s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 488s # * The properties are overridden in the order they are defined. 488s # * 488s # * Returns: The last property id. 488s # */ 488s # guint 488s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 488s # { 488s # return property_id_begin - 1; 488s # } 488s # 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_simple_signal ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # g_cclosure_marshal_VOID__VOID (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # inline static void 488s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 488s # GClosure *closure, 488s # GValue *return_value, 488s # unsigned int n_param_values, 488s # const GValue *param_values, 488s # void *invocation_hint, 488s # void *marshal_data) 488s # { 488s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 488s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 488s # } 488s # 488s # 488s # /** 488s # * OrgProjectSignalingIface: 488s # * 488s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceIface: 488s # * @parent_iface: The parent interface. 488s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 488s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 488s # * 488s # * Virtual table for the D-Bus interface org.project.SignalingIface. 488s # */ 488s # 488s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 488s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 488s # 488s # static void 488s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # /* GObject signals for received D-Bus signals: */ 488s # /** 488s # * OrgProjectSignalingIface::simple-signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 488s # g_signal_new ("simple-signal", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_simple_signal, 488s # G_TYPE_NONE, 488s # 0); 488s # 488s # /** 488s # * OrgProjectSignalingIface::signal-with-many-args: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument. 488s # * @arg_an_y: Argument. 488s # * @arg_an_n: Argument. 488s # * @arg_an_q: Argument. 488s # * @arg_an_i: Argument. 488s # * @arg_an_u: Argument. 488s # * @arg_an_x: Argument. 488s # * @arg_an_t: Argument. 488s # * @arg_an_d: Argument. 488s # * @arg_an_s: Argument. 488s # * @arg_an_o: Argument. 488s # * @arg_an_g: Argument. 488s # * @arg_an_h: Argument. 488s # * @arg_an_ay: Argument. 488s # * @arg_an_as: Argument. 488s # * @arg_an_ao: Argument. 488s # * @arg_an_aay: Argument. 488s # * @arg_an_asv: Argument. 488s # * 488s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 488s # * 488s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 488s # */ 488s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 488s # g_signal_new ("signal-with-many-args", 488s # G_TYPE_FROM_INTERFACE (iface), 488s # G_SIGNAL_RUN_LAST, 488s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 488s # NULL, 488s # NULL, 488s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 488s # G_TYPE_NONE, 488s # 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); 488s # 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_simple_signal: 488s # * @object: A #OrgProjectSignalingIface. 488s # * 488s # * Emits the "SimpleSignal" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_emit_signal_with_many_args: 488s # * @object: A #OrgProjectSignalingIface. 488s # * @arg_an_b: Argument to pass with the signal. 488s # * @arg_an_y: Argument to pass with the signal. 488s # * @arg_an_n: Argument to pass with the signal. 488s # * @arg_an_q: Argument to pass with the signal. 488s # * @arg_an_i: Argument to pass with the signal. 488s # * @arg_an_u: Argument to pass with the signal. 488s # * @arg_an_x: Argument to pass with the signal. 488s # * @arg_an_t: Argument to pass with the signal. 488s # * @arg_an_d: Argument to pass with the signal. 488s # * @arg_an_s: Argument to pass with the signal. 488s # * @arg_an_o: Argument to pass with the signal. 488s # * @arg_an_g: Argument to pass with the signal. 488s # * @arg_an_h: Argument to pass with the signal. 488s # * @arg_an_ay: Argument to pass with the signal. 488s # * @arg_an_as: Argument to pass with the signal. 488s # * @arg_an_ao: Argument to pass with the signal. 488s # * @arg_an_aay: Argument to pass with the signal. 488s # * @arg_an_asv: Argument to pass with the signal. 488s # * 488s # * Emits the "SignalWithManyArgs" D-Bus signal. 488s # */ 488s # void 488s # org_project_signaling_iface_emit_signal_with_many_args ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv) 488s # { 488s # 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); 488s # } 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxy: 488s # * 488s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceProxyClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceProxy. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceProxyPrivate 488s # { 488s # GData *qdata; 488s # }; 488s # 488s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_proxy_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 488s # g_datalist_clear (&proxy->priv->qdata); 488s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 488s # guint prop_id G_GNUC_UNUSED, 488s # const GValue *value G_GNUC_UNUSED, 488s # GParamSpec *pspec G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 488s # const gchar *sender_name G_GNUC_UNUSED, 488s # const gchar *signal_name, 488s # GVariant *parameters) 488s # { 488s # _ExtendedGDBusSignalInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # gsize n; 488s # guint signal_id; 488s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 488s # if (info == NULL) 488s # return; 488s # num_params = g_variant_n_children (parameters); 488s # paramv = g_new0 (GValue, num_params + 1); 488s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[0], proxy); 488s # g_variant_iter_init (&iter, parameters); 488s # n = 1; 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_signal_emitv (paramv, signal_id, 0, NULL); 488s # for (n = 0; n < num_params + 1; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 488s # GVariant *changed_properties, 488s # const gchar *const *invalidated_properties) 488s # { 488s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 488s # guint n; 488s # const gchar *key; 488s # GVariantIter *iter; 488s # _ExtendedGDBusPropertyInfo *info; 488s # g_variant_get (changed_properties, "a{sv}", &iter); 488s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 488s # g_datalist_remove_data (&proxy->priv->qdata, key); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # g_variant_iter_free (iter); 488s # for (n = 0; invalidated_properties[n] != NULL; n++) 488s # { 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 488s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 488s # if (info != NULL) 488s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 488s # } 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 488s # #else 488s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 488s # #endif 488s # 488s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusProxyClass *proxy_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 488s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 488s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 488s # 488s # proxy_class = G_DBUS_PROXY_CLASS (klass); 488s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 488s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_sync: 488s # * @connection: A #GDBusConnection. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_sync ( 488s # GDBusConnection *connection, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 488s # * @user_data: User data to pass to @callback. 488s # * 488s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 488s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 488s # */ 488s # void 488s # org_project_signaling_iface_proxy_new_for_bus ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GAsyncReadyCallback callback, 488s # gpointer user_data) 488s # { 488s # 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); 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_finish: 488s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 488s # * @error: Return location for error or %NULL 488s # * 488s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_finish ( 488s # GAsyncResult *res, 488s # GError **error) 488s # { 488s # GObject *ret; 488s # GObject *source_object; 488s # source_object = g_async_result_get_source_object (res); 488s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 488s # g_object_unref (source_object); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_proxy_new_for_bus_sync: 488s # * @bus_type: A #GBusType. 488s # * @flags: Flags from the #GDBusProxyFlags enumeration. 488s # * @name: A bus name (well-known or unique). 488s # * @object_path: An object path. 488s # * @cancellable: (nullable): A #GCancellable or %NULL. 488s # * @error: Return location for error or %NULL 488s # * 488s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 488s # * 488s # * The calling thread is blocked until a reply is received. 488s # * 488s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_proxy_new_for_bus_sync ( 488s # GBusType bus_type, 488s # GDBusProxyFlags flags, 488s # const gchar *name, 488s # const gchar *object_path, 488s # GCancellable *cancellable, 488s # GError **error) 488s # { 488s # GInitable *ret; 488s # 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); 488s # if (ret != NULL) 488s # return ORG_PROJECT_SIGNALING_IFACE (ret); 488s # else 488s # return NULL; 488s # } 488s # 488s # 488s # /* ------------------------------------------------------------------------ */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeleton: 488s # * 488s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 488s # */ 488s # 488s # /** 488s # * OrgProjectSignalingIfaceSkeletonClass: 488s # * @parent_class: The parent class. 488s # * 488s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 488s # */ 488s # 488s # struct _OrgProjectSignalingIfaceSkeletonPrivate 488s # { 488s # GValue *properties; 488s # GList *changed_properties; 488s # GSource *changed_properties_idle_source; 488s # GMainContext *context; 488s # GMutex lock; 488s # }; 488s # 488s # static void 488s # _org_project_signaling_iface_skeleton_handle_method_call ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name, 488s # const gchar *method_name, 488s # GVariant *parameters, 488s # GDBusMethodInvocation *invocation, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # _ExtendedGDBusMethodInfo *info; 488s # GVariantIter iter; 488s # GVariant *child; 488s # GValue *paramv; 488s # gsize num_params; 488s # guint num_extra; 488s # gsize n; 488s # guint signal_id; 488s # GValue return_value = G_VALUE_INIT; 488s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 488s # g_assert (info != NULL); 488s # num_params = g_variant_n_children (parameters); 488s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 488s # n = 0; 488s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_set_object (¶mv[n++], skeleton); 488s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 488s # g_value_set_object (¶mv[n++], invocation); 488s # if (info->pass_fdlist) 488s # { 488s # #ifdef G_OS_UNIX 488s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 488s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 488s # #else 488s # g_assert_not_reached (); 488s # #endif 488s # } 488s # g_variant_iter_init (&iter, parameters); 488s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 488s # { 488s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 488s # if (arg_info->use_gvariant) 488s # { 488s # g_value_init (¶mv[n], G_TYPE_VARIANT); 488s # g_value_set_variant (¶mv[n], child); 488s # n++; 488s # } 488s # else 488s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 488s # g_variant_unref (child); 488s # } 488s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 488s # g_value_init (&return_value, G_TYPE_BOOLEAN); 488s # g_signal_emitv (paramv, signal_id, 0, &return_value); 488s # if (!g_value_get_boolean (&return_value)) 488s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 488s # g_value_unset (&return_value); 488s # for (n = 0; n < num_params + num_extra; n++) 488s # g_value_unset (¶mv[n]); 488s # g_free (paramv); 488s # } 488s # 488s # static GVariant * 488s # _org_project_signaling_iface_skeleton_handle_get_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # GVariant *ret; 488s # ret = NULL; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # g_value_init (&value, pspec->value_type); 488s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 488s # g_value_unset (&value); 488s # } 488s # return ret; 488s # } 488s # 488s # static gboolean 488s # _org_project_signaling_iface_skeleton_handle_set_property ( 488s # GDBusConnection *connection G_GNUC_UNUSED, 488s # const gchar *sender G_GNUC_UNUSED, 488s # const gchar *object_path G_GNUC_UNUSED, 488s # const gchar *interface_name G_GNUC_UNUSED, 488s # const gchar *property_name, 488s # GVariant *variant, 488s # GError **error, 488s # gpointer user_data) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 488s # GValue value = G_VALUE_INIT; 488s # GParamSpec *pspec; 488s # _ExtendedGDBusPropertyInfo *info; 488s # gboolean ret; 488s # ret = FALSE; 488s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 488s # g_assert (info != NULL); 488s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 488s # if (pspec == NULL) 488s # { 488s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 488s # } 488s # else 488s # { 488s # if (info->use_gvariant) 488s # g_value_set_variant (&value, variant); 488s # else 488s # g_dbus_gvariant_to_gvalue (variant, &value); 488s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 488s # g_value_unset (&value); 488s # ret = TRUE; 488s # } 488s # return ret; 488s # } 488s # 488s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 488s # { 488s # _org_project_signaling_iface_skeleton_handle_method_call, 488s # _org_project_signaling_iface_skeleton_handle_get_property, 488s # _org_project_signaling_iface_skeleton_handle_set_property, 488s # {NULL} 488s # }; 488s # 488s # static GDBusInterfaceInfo * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return org_project_signaling_iface_interface_info (); 488s # } 488s # 488s # static GDBusInterfaceVTable * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 488s # { 488s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 488s # } 488s # 488s # static GVariant * 488s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 488s # 488s # GVariantBuilder builder; 488s # guint n; 488s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 488s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 488s # goto out; 488s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 488s # { 488s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 488s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 488s # { 488s # GVariant *value; 488s # 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); 488s # if (value != NULL) 488s # { 488s # g_variant_take_ref (value); 488s # g_variant_builder_add (&builder, "{sv}", info->name, value); 488s # g_variant_unref (value); 488s # } 488s # } 488s # } 488s # out: 488s # return g_variant_builder_end (&builder); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 488s # { 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_simple_signal ( 488s # OrgProjectSignalingIface *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void 488s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 488s # OrgProjectSignalingIface *object, 488s # gboolean arg_an_b, 488s # guchar arg_an_y, 488s # gint16 arg_an_n, 488s # guint16 arg_an_q, 488s # gint arg_an_i, 488s # guint arg_an_u, 488s # gint64 arg_an_x, 488s # guint64 arg_an_t, 488s # gdouble arg_an_d, 488s # const gchar *arg_an_s, 488s # const gchar *arg_an_o, 488s # const gchar *arg_an_g, 488s # GVariant *arg_an_h, 488s # const gchar *arg_an_ay, 488s # const gchar *const *arg_an_as, 488s # const gchar *const *arg_an_ao, 488s # const gchar *const *arg_an_aay, 488s # GVariant *arg_an_asv) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # 488s # GList *connections, *l; 488s # GVariant *signal_variant; 488s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 488s # 488s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 488s # arg_an_b, 488s # arg_an_y, 488s # arg_an_n, 488s # arg_an_q, 488s # arg_an_i, 488s # arg_an_u, 488s # arg_an_x, 488s # arg_an_t, 488s # arg_an_d, 488s # arg_an_s, 488s # arg_an_o, 488s # arg_an_g, 488s # arg_an_h, 488s # arg_an_ay, 488s # arg_an_as, 488s # arg_an_ao, 488s # arg_an_aay, 488s # arg_an_asv)); 488s # for (l = connections; l != NULL; l = l->next) 488s # { 488s # GDBusConnection *connection = l->data; 488s # g_dbus_connection_emit_signal (connection, 488s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 488s # signal_variant, NULL); 488s # } 488s # g_variant_unref (signal_variant); 488s # g_list_free_full (connections, g_object_unref); 488s # } 488s # 488s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #else 488s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 488s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 488s # 488s # #endif 488s # static void 488s # org_project_signaling_iface_skeleton_finalize (GObject *object) 488s # { 488s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 488s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 488s # if (skeleton->priv->changed_properties_idle_source != NULL) 488s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 488s # g_main_context_unref (skeleton->priv->context); 488s # g_mutex_clear (&skeleton->priv->lock); 488s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 488s # { 488s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 488s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 488s # #else 488s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 488s # #endif 488s # 488s # g_mutex_init (&skeleton->priv->lock); 488s # skeleton->priv->context = g_main_context_ref_thread_default (); 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 488s # { 488s # GObjectClass *gobject_class; 488s # GDBusInterfaceSkeletonClass *skeleton_class; 488s # 488s # gobject_class = G_OBJECT_CLASS (klass); 488s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 488s # 488s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 488s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 488s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 488s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 488s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 488s # 488s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 488s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 488s # #endif 488s # } 488s # 488s # static void 488s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 488s # { 488s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 488s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 488s # } 488s # 488s # /** 488s # * org_project_signaling_iface_skeleton_new: 488s # * 488s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 488s # * 488s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 488s # */ 488s # OrgProjectSignalingIface * 488s # org_project_signaling_iface_skeleton_new (void) 488s # { 488s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 488s # } 488s ok 25 __main__.TestCodegen.test_generate_valid_docbook 488s # tmpdir: /tmp/tmpvwnb_u79 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpvwnb_u79/tmp5enznup_.xml: 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvwnb_u79/tmp5enznup_.xml', '--generate-docbook', 'test'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: 488s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 488s # tmpdir: /tmp/tmpfottcfoy 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpfottcfoy/tmp8ihpgx6h.xml: 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfottcfoy/tmp8ihpgx6h.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 488s # tmpdir: /tmp/tmp6v3lv0hl 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp6v3lv0hl/tmpfs5u8uky.xml: 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6v3lv0hl/tmpfs5u8uky.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifndef __STDOUT__ 488s # #define __STDOUT__ 488s # 488s # #include 488s # 488s # G_BEGIN_DECLS 488s # 488s # 488s # G_END_DECLS 488s # 488s # #endif /* __STDOUT__ */ 488s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 488s # tmpdir: /tmp/tmp7pepwa1x 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmp7pepwa1x/tmpu6xur0vk.xml: 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7pepwa1x/tmpu6xur0vk.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 488s # tmpdir: /tmp/tmpbgl9qxwc 488s # codegen: /usr/bin/gdbus-codegen 488s # /tmp/tmpbgl9qxwc/tmpn2yt7pc0.xml: 488s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbgl9qxwc/tmpn2yt7pc0.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 488s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 488s # Output: /* 488s # * This file is generated by gdbus-codegen, do not modify it. 488s # * 488s # * The license of this code is the same as for the D-Bus interface description 488s # * it was derived from. Note that it links to GLib, so must comply with the 488s # * LGPL linking clauses. 488s # */ 488s # 488s # #ifndef __STDOUT__ 488s # #define __STDOUT__ 488s # 488s # #include 488s # 488s # G_BEGIN_DECLS 488s # 488s # 488s # G_END_DECLS 488s # 488s # #endif /* __STDOUT__ */ 489s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 489s # tmpdir: /tmp/tmpw25skx7z 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpw25skx7z/tmpqofl11rd.xml: 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw25skx7z/tmpqofl11rd.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 489s # tmpdir: /tmp/tmpuceqzsf6 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpuceqzsf6/tmptz174to8.xml: 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuceqzsf6/tmptz174to8.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 489s # tmpdir: /tmp/tmpk8dmjjzz 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpk8dmjjzz/tmpkuykg9mf.xml: 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk8dmjjzz/tmpkuykg9mf.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 489s # tmpdir: /tmp/tmpbyifvp3s 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpbyifvp3s/tmpoxqy_n0l.xml: 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbyifvp3s/tmpoxqy_n0l.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 489s # tmpdir: /tmp/tmpvo0v77w_ 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpvo0v77w_/tmpzdccdsyv.xml: 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvo0v77w_/tmpzdccdsyv.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s ok 35 __main__.TestCodegen.test_help 489s # tmpdir: /tmp/tmpew6egizl 489s # codegen: /usr/bin/gdbus-codegen 489s # Running: ['/usr/bin/gdbus-codegen', '--help'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 489s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 489s # [--c-generate-autocleanup {none,objects,all}] 489s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 489s # [--generate-rst OUTFILES] [--pragma-once] 489s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 489s # [--glib-min-required VERSION] 489s # [--glib-max-allowed VERSION] 489s # [--symbol-decorator SYMBOL_DECORATOR] 489s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 489s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 489s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 489s # [--output FILE | --output-directory OUTDIR] 489s # FILE [FILE ...] 489s # 489s # D-Bus code and documentation generator 489s # 489s # positional arguments: 489s # FILE D-Bus introspection XML file 489s # 489s # options: 489s # -h, --help show this help message and exit 489s # --interface-prefix PREFIX 489s # String to strip from D-Bus interface names for code 489s # and docs 489s # --c-namespace NAMESPACE 489s # The namespace to use for generated C code 489s # --c-generate-object-manager 489s # Generate a GDBusObjectManagerClient subclass when 489s # generating C code 489s # --c-generate-autocleanup {none,objects,all} 489s # Generate autocleanup support 489s # --generate-docbook OUTFILES 489s # Generate Docbook in OUTFILES-org.Project.IFace.xml 489s # --generate-md OUTFILES 489s # Generate Markdown in OUTFILES-org.Project.IFace.md 489s # --generate-rst OUTFILES 489s # Generate reStructuredText in OUTFILES- 489s # org.Project.IFace.rst 489s # --pragma-once Use "pragma once" as the inclusion guard 489s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 489s # Add annotation (may be used several times) 489s # --glib-min-required VERSION 489s # Minimum version of GLib to be supported by the 489s # outputted code (default: 2.30) 489s # --glib-max-allowed VERSION 489s # Maximum version of GLib to be used by the outputted 489s # code (default: current GLib version) 489s # --symbol-decorator SYMBOL_DECORATOR 489s # Macro used to decorate a symbol in the outputted 489s # header, possibly to export symbols 489s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 489s # Additional header required for decorator specified by 489s # --symbol-decorator 489s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 489s # Additional define required for decorator specified by 489s # --symbol-decorator 489s # --generate-c-code OUTFILES 489s # Generate C code in OUTFILES.[ch] 489s # --header Generate C headers 489s # --body Generate C code 489s # --interface-info-header 489s # Generate GDBusInterfaceInfo C header 489s # --interface-info-body 489s # Generate GDBusInterfaceInfo C code 489s # --output FILE Write output into the specified file 489s # --output-directory OUTDIR 489s # Location to output generated files 489s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 489s # tmpdir: /tmp/tmpqpbn8j77 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpqpbn8j77/tmpm2ffl_oj.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqpbn8j77/tmpm2ffl_oj.xml', '--generate-rst', 'test'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: 489s # /tmp/tmpqpbn8j77/tmpd7sqz7_7.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqpbn8j77/tmpd7sqz7_7.xml', '--generate-md', 'test'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: 489s # /tmp/tmpqpbn8j77/tmpudhbj06j.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqpbn8j77/tmpudhbj06j.xml', '--generate-docbook', 'test'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: 489s ok 37 __main__.TestCodegen.test_no_args 489s # tmpdir: /tmp/tmp8iurpr30 489s # codegen: /usr/bin/gdbus-codegen 489s # Running: ['/usr/bin/gdbus-codegen'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s ok 38 __main__.TestCodegen.test_reproducible 489s # tmpdir: /tmp/tmp3520mta5 489s # codegen: /usr/bin/gdbus-codegen 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3520mta5/tmpct6gc2pj1.xml', '/tmp/tmp3520mta5/tmpwqy29rza2.xml', '--output', '-', '--header'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for com.acme.Coyote */ 489s # 489s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 489s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 489s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 489s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 489s # 489s # struct _ComAcmeCoyote; 489s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 489s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 489s # 489s # struct _ComAcmeCoyoteIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # 489s # 489s # gboolean (*handle_attack) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # gboolean (*handle_run) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # gboolean (*handle_sleep) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # const gchar * (*get_mood) (ComAcmeCoyote *object); 489s # 489s # void (*surprised) ( 489s # ComAcmeCoyote *object); 489s # 489s # }; 489s # 489s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 489s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void com_acme_coyote_complete_run ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # void com_acme_coyote_complete_sleep ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # void com_acme_coyote_complete_attack ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus signal emissions functions: */ 489s # void com_acme_coyote_emit_surprised ( 489s # ComAcmeCoyote *object); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void com_acme_coyote_call_run ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_run_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_run_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_call_sleep ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_sleep_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_sleep_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_call_attack ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_attack_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_attack_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* D-Bus property accessors: */ 489s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 489s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 489s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 489s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 489s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 489s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 489s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 489s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 489s # 489s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 489s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 489s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 489s # 489s # struct _ComAcmeCoyoteProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # ComAcmeCoyoteProxyPrivate *priv; 489s # }; 489s # 489s # struct _ComAcmeCoyoteProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 489s # #endif 489s # 489s # void com_acme_coyote_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 489s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 489s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 489s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 489s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 489s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 489s # 489s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 489s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 489s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 489s # 489s # struct _ComAcmeCoyoteSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # ComAcmeCoyoteSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _ComAcmeCoyoteSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 489s # #endif 489s # 489s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for org.project.Bar.Frobnicator */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 489s # 489s # struct _OrgProjectBarFrobnicator; 489s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 489s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 489s # 489s # struct _OrgProjectBarFrobnicatorIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # gboolean (*handle_random_method) ( 489s # OrgProjectBarFrobnicator *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # }; 489s # 489s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 489s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void org_project_bar_frobnicator_complete_random_method ( 489s # OrgProjectBarFrobnicator *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void org_project_bar_frobnicator_call_random_method ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 489s # 489s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 489s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 489s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 489s # 489s # struct _OrgProjectBarFrobnicatorProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # OrgProjectBarFrobnicatorProxyPrivate *priv; 489s # }; 489s # 489s # struct _OrgProjectBarFrobnicatorProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 489s # #endif 489s # 489s # void org_project_bar_frobnicator_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void org_project_bar_frobnicator_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 489s # 489s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 489s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 489s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 489s # 489s # struct _OrgProjectBarFrobnicatorSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _OrgProjectBarFrobnicatorSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 489s # #endif 489s # 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3520mta5/tmpwqy29rza2.xml', '/tmp/tmp3520mta5/tmpct6gc2pj1.xml', '--output', '-', '--header'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for com.acme.Coyote */ 489s # 489s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 489s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 489s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 489s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 489s # 489s # struct _ComAcmeCoyote; 489s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 489s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 489s # 489s # struct _ComAcmeCoyoteIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # 489s # 489s # gboolean (*handle_attack) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # gboolean (*handle_run) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # gboolean (*handle_sleep) ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # const gchar * (*get_mood) (ComAcmeCoyote *object); 489s # 489s # void (*surprised) ( 489s # ComAcmeCoyote *object); 489s # 489s # }; 489s # 489s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 489s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void com_acme_coyote_complete_run ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # void com_acme_coyote_complete_sleep ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # void com_acme_coyote_complete_attack ( 489s # ComAcmeCoyote *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus signal emissions functions: */ 489s # void com_acme_coyote_emit_surprised ( 489s # ComAcmeCoyote *object); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void com_acme_coyote_call_run ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_run_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_run_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_call_sleep ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_sleep_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_sleep_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_call_attack ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean com_acme_coyote_call_attack_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean com_acme_coyote_call_attack_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* D-Bus property accessors: */ 489s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 489s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 489s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 489s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 489s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 489s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 489s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 489s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 489s # 489s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 489s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 489s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 489s # 489s # struct _ComAcmeCoyoteProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # ComAcmeCoyoteProxyPrivate *priv; 489s # }; 489s # 489s # struct _ComAcmeCoyoteProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 489s # #endif 489s # 489s # void com_acme_coyote_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void com_acme_coyote_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 489s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 489s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 489s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 489s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 489s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 489s # 489s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 489s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 489s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 489s # 489s # struct _ComAcmeCoyoteSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # ComAcmeCoyoteSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _ComAcmeCoyoteSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 489s # #endif 489s # 489s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for org.project.Bar.Frobnicator */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 489s # 489s # struct _OrgProjectBarFrobnicator; 489s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 489s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 489s # 489s # struct _OrgProjectBarFrobnicatorIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # gboolean (*handle_random_method) ( 489s # OrgProjectBarFrobnicator *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # }; 489s # 489s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 489s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void org_project_bar_frobnicator_complete_random_method ( 489s # OrgProjectBarFrobnicator *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void org_project_bar_frobnicator_call_random_method ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 489s # 489s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 489s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 489s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 489s # 489s # struct _OrgProjectBarFrobnicatorProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # OrgProjectBarFrobnicatorProxyPrivate *priv; 489s # }; 489s # 489s # struct _OrgProjectBarFrobnicatorProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 489s # #endif 489s # 489s # void org_project_bar_frobnicator_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void org_project_bar_frobnicator_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 489s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 489s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 489s # 489s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 489s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 489s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 489s # 489s # struct _OrgProjectBarFrobnicatorSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _OrgProjectBarFrobnicatorSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 489s # #endif 489s # 489s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3520mta5/tmpct6gc2pj1.xml', '/tmp/tmp3520mta5/tmpwqy29rza2.xml', '--output', '-', '--body'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifdef HAVE_CONFIG_H 489s # # include "config.h" 489s # #endif 489s # 489s # #include 489s # #ifdef G_OS_UNIX 489s # # include 489s # #endif 489s # 489s # #ifdef G_ENABLE_DEBUG 489s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 489s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 489s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 489s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 489s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 489s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 489s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 489s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 489s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 489s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 489s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 489s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 489s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 489s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 489s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 489s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 489s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 489s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 489s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 489s # #else /* !G_ENABLE_DEBUG */ 489s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 489s # * Do not access GValues directly in your code. Instead, use the 489s # * g_value_get_*() functions 489s # */ 489s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 489s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 489s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 489s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 489s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 489s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 489s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 489s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 489s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 489s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 489s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 489s # #endif /* !G_ENABLE_DEBUG */ 489s # 489s # typedef struct 489s # { 489s # GDBusArgInfo parent_struct; 489s # gboolean use_gvariant; 489s # } _ExtendedGDBusArgInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusMethodInfo parent_struct; 489s # const gchar *signal_name; 489s # gboolean pass_fdlist; 489s # } _ExtendedGDBusMethodInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusSignalInfo parent_struct; 489s # const gchar *signal_name; 489s # } _ExtendedGDBusSignalInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusPropertyInfo parent_struct; 489s # const gchar *hyphen_name; 489s # guint use_gvariant : 1; 489s # guint emits_changed_signal : 1; 489s # } _ExtendedGDBusPropertyInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusInterfaceInfo parent_struct; 489s # const gchar *hyphen_name; 489s # } _ExtendedGDBusInterfaceInfo; 489s # 489s # typedef struct 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # guint prop_id; 489s # GValue orig_value; /* the value before the change */ 489s # } ChangedProperty; 489s # 489s # static void 489s # _changed_property_free (ChangedProperty *data) 489s # { 489s # g_value_unset (&data->orig_value); 489s # g_free (data); 489s # } 489s # 489s # static gboolean 489s # _g_strv_equal0 (gchar **a, gchar **b) 489s # { 489s # gboolean ret = FALSE; 489s # guint n; 489s # if (a == NULL && b == NULL) 489s # { 489s # ret = TRUE; 489s # goto out; 489s # } 489s # if (a == NULL || b == NULL) 489s # goto out; 489s # if (g_strv_length (a) != g_strv_length (b)) 489s # goto out; 489s # for (n = 0; a[n] != NULL; n++) 489s # if (g_strcmp0 (a[n], b[n]) != 0) 489s # goto out; 489s # ret = TRUE; 489s # out: 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _g_variant_equal0 (GVariant *a, GVariant *b) 489s # { 489s # gboolean ret = FALSE; 489s # if (a == NULL && b == NULL) 489s # { 489s # ret = TRUE; 489s # goto out; 489s # } 489s # if (a == NULL || b == NULL) 489s # goto out; 489s # ret = g_variant_equal (a, b); 489s # out: 489s # return ret; 489s # } 489s # 489s # G_GNUC_UNUSED static gboolean 489s # _g_value_equal (const GValue *a, const GValue *b) 489s # { 489s # gboolean ret = FALSE; 489s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 489s # switch (G_VALUE_TYPE (a)) 489s # { 489s # case G_TYPE_BOOLEAN: 489s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 489s # break; 489s # case G_TYPE_UCHAR: 489s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 489s # break; 489s # case G_TYPE_INT: 489s # ret = (g_value_get_int (a) == g_value_get_int (b)); 489s # break; 489s # case G_TYPE_UINT: 489s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 489s # break; 489s # case G_TYPE_INT64: 489s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 489s # break; 489s # case G_TYPE_UINT64: 489s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 489s # break; 489s # case G_TYPE_DOUBLE: 489s # { 489s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 489s # gdouble da = g_value_get_double (a); 489s # gdouble db = g_value_get_double (b); 489s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 489s # } 489s # break; 489s # case G_TYPE_STRING: 489s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 489s # break; 489s # case G_TYPE_VARIANT: 489s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 489s # break; 489s # default: 489s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 489s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 489s # else 489s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 489s # break; 489s # } 489s # return ret; 489s # } 489s # 489s # static void 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint G_GNUC_UNUSED, 489s # void *marshal_data) 489s # { 489s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 489s # (void *data1, 489s # GDBusMethodInvocation *arg_method_invocation, 489s # void *data2); 489s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 489s # GCClosure *cc = (GCClosure*) closure; 489s # void *data1, *data2; 489s # gboolean v_return; 489s # 489s # g_return_if_fail (return_value != NULL); 489s # g_return_if_fail (n_param_values == 2); 489s # 489s # if (G_CCLOSURE_SWAP_DATA (closure)) 489s # { 489s # data1 = closure->data; 489s # data2 = g_value_peek_pointer (param_values + 0); 489s # } 489s # else 489s # { 489s # data1 = g_value_peek_pointer (param_values + 0); 489s # data2 = closure->data; 489s # } 489s # 489s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 489s # (marshal_data ? marshal_data : cc->callback); 489s # 489s # v_return = 489s # callback (data1, 489s # g_marshal_value_peek_object (param_values + 1), 489s # data2); 489s # 489s # g_value_set_boolean (return_value, v_return); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ 489s # * Code for interface com.acme.Coyote 489s # * ------------------------------------------------------------------------ 489s # */ 489s # 489s # /** 489s # * SECTION:ComAcmeCoyote 489s # * @title: ComAcmeCoyote 489s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 489s # * 489s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 489s # */ 489s # 489s # enum 489s # { 489s # _COM_ACME_COYOTE_SURPRISED, 489s # }; 489s # 489s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 489s # 489s # /* ---- Introspection data for com.acme.Coyote ---- */ 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Run", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-run", 489s # FALSE 489s # }; 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Sleep", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-sleep", 489s # FALSE 489s # }; 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Attack", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-attack", 489s # FALSE 489s # }; 489s # 489s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 489s # { 489s # &_com_acme_coyote_method_info_run.parent_struct, 489s # &_com_acme_coyote_method_info_sleep.parent_struct, 489s # &_com_acme_coyote_method_info_attack.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Surprised", 489s # NULL, 489s # NULL 489s # }, 489s # "surprised" 489s # }; 489s # 489s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 489s # { 489s # &_com_acme_coyote_signal_info_surprised.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Mood", 489s # (gchar *) "s", 489s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 489s # NULL 489s # }, 489s # "mood", 489s # FALSE, 489s # TRUE 489s # }; 489s # 489s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 489s # { 489s # &_com_acme_coyote_property_info_mood.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 489s # { 489s # { 489s # -1, 489s # (gchar *) "com.acme.Coyote", 489s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 489s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 489s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 489s # NULL 489s # }, 489s # "com-acme-coyote", 489s # }; 489s # 489s # 489s # /** 489s # * com_acme_coyote_interface_info: 489s # * 489s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 489s # * 489s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 489s # */ 489s # GDBusInterfaceInfo * 489s # com_acme_coyote_interface_info (void) 489s # { 489s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_override_properties: 489s # * @klass: The class structure for a #GObject derived class. 489s # * @property_id_begin: The property id to assign to the first overridden property. 489s # * 489s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 489s # * The properties are overridden in the order they are defined. 489s # * 489s # * Returns: The last property id. 489s # */ 489s # guint 489s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 489s # { 489s # g_object_class_override_property (klass, property_id_begin++, "mood"); 489s # return property_id_begin - 1; 489s # } 489s # 489s # 489s # inline static void 489s # com_acme_coyote_signal_marshal_surprised ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # g_cclosure_marshal_VOID__VOID (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_run ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_sleep ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_attack ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # 489s # /** 489s # * ComAcmeCoyote: 489s # * 489s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteIface: 489s # * @parent_iface: The parent interface. 489s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 489s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 489s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 489s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 489s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 489s # * 489s # * Virtual table for the D-Bus interface com.acme.Coyote. 489s # */ 489s # 489s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 489s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 489s # 489s # static void 489s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 489s # { 489s # /* GObject signals for incoming D-Bus method calls: */ 489s # /** 489s # * ComAcmeCoyote::handle-run: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-run", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_run, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /** 489s # * ComAcmeCoyote::handle-sleep: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-sleep", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_sleep, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /** 489s # * ComAcmeCoyote::handle-attack: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-attack", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_attack, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /* GObject signals for received D-Bus signals: */ 489s # /** 489s # * ComAcmeCoyote::surprised: 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 489s # * 489s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 489s # */ 489s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 489s # g_signal_new ("surprised", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 489s # NULL, 489s # NULL, 489s # com_acme_coyote_signal_marshal_surprised, 489s # G_TYPE_NONE, 489s # 0); 489s # 489s # /* GObject properties for D-Bus properties: */ 489s # /** 489s # * ComAcmeCoyote:mood: 489s # * 489s # * Represents the D-Bus property "Mood". 489s # * 489s # * 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. 489s # */ 489s # g_object_interface_install_property (iface, 489s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_get_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Gets the value of the "Mood" D-Bus property. 489s # * 489s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # const gchar * 489s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 489s # { 489s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 489s # 489s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_dup_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Gets a copy of the "Mood" D-Bus property. 489s # * 489s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 489s # * 489s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 489s # */ 489s # gchar * 489s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 489s # { 489s # gchar *value; 489s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 489s # return value; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_set_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * @value: The value to set. 489s # * 489s # * Sets the "Mood" D-Bus property to @value. 489s # * 489s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 489s # */ 489s # void 489s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 489s # { 489s # g_object_set (G_OBJECT (object), "mood", value, NULL); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_emit_surprised: 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Emits the "Surprised" D-Bus signal. 489s # */ 489s # void 489s # com_acme_coyote_emit_surprised ( 489s # ComAcmeCoyote *object) 489s # { 489s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Run() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_run ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Run", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_run(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_run_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_run_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Run", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_sleep ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Sleep", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_sleep(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_sleep_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_sleep_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Sleep", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_attack ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Attack", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_attack(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_attack_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_attack_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Attack", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_run: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_run ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_sleep: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_sleep ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_attack: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_attack ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * ComAcmeCoyoteProxy: 489s # * 489s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteProxyClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #ComAcmeCoyoteProxy. 489s # */ 489s # 489s # struct _ComAcmeCoyoteProxyPrivate 489s # { 489s # GData *qdata; 489s # }; 489s # 489s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 489s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 489s # 489s # #endif 489s # static void 489s # com_acme_coyote_proxy_finalize (GObject *object) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 489s # g_datalist_clear (&proxy->priv->qdata); 489s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_get_property (GObject *object, 489s # guint prop_id, 489s # GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # GVariant *variant; 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 489s # if (info->use_gvariant) 489s # { 489s # g_value_set_variant (value, variant); 489s # } 489s # else 489s # { 489s # if (variant != NULL) 489s # g_dbus_gvariant_to_gvalue (variant, value); 489s # } 489s # if (variant != NULL) 489s # g_variant_unref (variant); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 489s # GAsyncResult *res, 489s # gpointer user_data) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info = user_data; 489s # GError *error; 489s # GVariant *_ret; 489s # error = NULL; 489s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 489s # if (!_ret) 489s # { 489s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 489s # info->parent_struct.name, 489s # error->message, g_quark_to_string (error->domain), error->code); 489s # g_error_free (error); 489s # } 489s # else 489s # { 489s # g_variant_unref (_ret); 489s # } 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_set_property (GObject *object, 489s # guint prop_id, 489s # const GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # GVariant *variant; 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_dbus_proxy_call (G_DBUS_PROXY (object), 489s # "org.freedesktop.DBus.Properties.Set", 489s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 489s # g_variant_unref (variant); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 489s # const gchar *sender_name G_GNUC_UNUSED, 489s # const gchar *signal_name, 489s # GVariant *parameters) 489s # { 489s # _ExtendedGDBusSignalInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # gsize n; 489s # guint signal_id; 489s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 489s # if (info == NULL) 489s # return; 489s # num_params = g_variant_n_children (parameters); 489s # paramv = g_new0 (GValue, num_params + 1); 489s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 489s # g_value_set_object (¶mv[0], proxy); 489s # g_variant_iter_init (&iter, parameters); 489s # n = 1; 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 489s # g_signal_emitv (paramv, signal_id, 0, NULL); 489s # for (n = 0; n < num_params + 1; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 489s # GVariant *changed_properties, 489s # const gchar *const *invalidated_properties) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 489s # guint n; 489s # const gchar *key; 489s # GVariantIter *iter; 489s # _ExtendedGDBusPropertyInfo *info; 489s # g_variant_get (changed_properties, "a{sv}", &iter); 489s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 489s # g_datalist_remove_data (&proxy->priv->qdata, key); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # g_variant_iter_free (iter); 489s # for (n = 0; invalidated_properties[n] != NULL; n++) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 489s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # } 489s # 489s # static const gchar * 489s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 489s # GVariant *variant; 489s # const gchar *value = NULL; 489s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 489s # if (variant != NULL) 489s # { 489s # value = g_variant_get_string (variant, NULL); 489s # g_variant_unref (variant); 489s # } 489s # return value; 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 489s # #else 489s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 489s # #endif 489s # 489s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusProxyClass *proxy_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 489s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 489s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 489s # 489s # proxy_class = G_DBUS_PROXY_CLASS (klass); 489s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 489s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 489s # 489s # com_acme_coyote_override_properties (gobject_class, 1); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 489s # { 489s # iface->get_mood = com_acme_coyote_proxy_get_mood; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # com_acme_coyote_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with com_acme_coyote_proxy_new(). 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_sync: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # com_acme_coyote_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus_sync: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * ComAcmeCoyoteSkeleton: 489s # * 489s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteSkeletonClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #ComAcmeCoyoteSkeleton. 489s # */ 489s # 489s # struct _ComAcmeCoyoteSkeletonPrivate 489s # { 489s # GValue *properties; 489s # GList *changed_properties; 489s # GSource *changed_properties_idle_source; 489s # GMainContext *context; 489s # GMutex lock; 489s # }; 489s # 489s # static void 489s # _com_acme_coyote_skeleton_handle_method_call ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name, 489s # const gchar *method_name, 489s # GVariant *parameters, 489s # GDBusMethodInvocation *invocation, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # _ExtendedGDBusMethodInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # guint num_extra; 489s # gsize n; 489s # guint signal_id; 489s # GValue return_value = G_VALUE_INIT; 489s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 489s # g_assert (info != NULL); 489s # num_params = g_variant_n_children (parameters); 489s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 489s # n = 0; 489s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 489s # g_value_set_object (¶mv[n++], skeleton); 489s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 489s # g_value_set_object (¶mv[n++], invocation); 489s # if (info->pass_fdlist) 489s # { 489s # #ifdef G_OS_UNIX 489s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 489s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 489s # #else 489s # g_assert_not_reached (); 489s # #endif 489s # } 489s # g_variant_iter_init (&iter, parameters); 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 489s # g_value_init (&return_value, G_TYPE_BOOLEAN); 489s # g_signal_emitv (paramv, signal_id, 0, &return_value); 489s # if (!g_value_get_boolean (&return_value)) 489s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 489s # g_value_unset (&return_value); 489s # for (n = 0; n < num_params + num_extra; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static GVariant * 489s # _com_acme_coyote_skeleton_handle_get_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # GVariant *ret; 489s # ret = NULL; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # g_value_init (&value, pspec->value_type); 489s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_value_unset (&value); 489s # } 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _com_acme_coyote_skeleton_handle_set_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GVariant *variant, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # gboolean ret; 489s # ret = FALSE; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # if (info->use_gvariant) 489s # g_value_set_variant (&value, variant); 489s # else 489s # g_dbus_gvariant_to_gvalue (variant, &value); 489s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # g_value_unset (&value); 489s # ret = TRUE; 489s # } 489s # return ret; 489s # } 489s # 489s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 489s # { 489s # _com_acme_coyote_skeleton_handle_method_call, 489s # _com_acme_coyote_skeleton_handle_get_property, 489s # _com_acme_coyote_skeleton_handle_set_property, 489s # {NULL} 489s # }; 489s # 489s # static GDBusInterfaceInfo * 489s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return com_acme_coyote_interface_info (); 489s # } 489s # 489s # static GDBusInterfaceVTable * 489s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 489s # } 489s # 489s # static GVariant * 489s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 489s # 489s # GVariantBuilder builder; 489s # guint n; 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 489s # goto out; 489s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 489s # { 489s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 489s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 489s # { 489s # GVariant *value; 489s # 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); 489s # if (value != NULL) 489s # { 489s # g_variant_take_ref (value); 489s # g_variant_builder_add (&builder, "{sv}", info->name, value); 489s # g_variant_unref (value); 489s # } 489s # } 489s # } 489s # out: 489s # return g_variant_builder_end (&builder); 489s # } 489s # 489s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 489s # 489s # static void 489s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 489s # gboolean emit_changed = FALSE; 489s # 489s # g_mutex_lock (&skeleton->priv->lock); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # { 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # skeleton->priv->changed_properties_idle_source = NULL; 489s # emit_changed = TRUE; 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # 489s # if (emit_changed) 489s # _com_acme_coyote_emit_changed (skeleton); 489s # } 489s # 489s # static void 489s # _com_acme_coyote_on_signal_surprised ( 489s # ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # 489s # GList *connections, *l; 489s # GVariant *signal_variant; 489s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 489s # 489s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 489s # for (l = connections; l != NULL; l = l->next) 489s # { 489s # GDBusConnection *connection = l->data; 489s # g_dbus_connection_emit_signal (connection, 489s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 489s # signal_variant, NULL); 489s # } 489s # g_variant_unref (signal_variant); 489s # g_list_free_full (connections, g_object_unref); 489s # } 489s # 489s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 489s # 489s # #endif 489s # static void 489s # com_acme_coyote_skeleton_finalize (GObject *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # guint n; 489s # for (n = 0; n < 1; n++) 489s # g_value_unset (&skeleton->priv->properties[n]); 489s # g_free (skeleton->priv->properties); 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # g_main_context_unref (skeleton->priv->context); 489s # g_mutex_clear (&skeleton->priv->lock); 489s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_get_property (GObject *object, 489s # guint prop_id, 489s # GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # } 489s # 489s # static gboolean 489s # _com_acme_coyote_emit_changed (gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GList *l; 489s # GVariantBuilder builder; 489s # GVariantBuilder invalidated_builder; 489s # guint num_changes; 489s # 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 489s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 489s # { 489s # ChangedProperty *cp = l->data; 489s # GVariant *variant; 489s # const GValue *cur_value; 489s # 489s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 489s # if (!_g_value_equal (cur_value, &cp->orig_value)) 489s # { 489s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 489s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 489s # g_variant_unref (variant); 489s # num_changes++; 489s # } 489s # } 489s # if (num_changes > 0) 489s # { 489s # GList *connections, *ll; 489s # GVariant *signal_variant; 489s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 489s # &builder, &invalidated_builder)); 489s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 489s # for (ll = connections; ll != NULL; ll = ll->next) 489s # { 489s # GDBusConnection *connection = ll->data; 489s # 489s # g_dbus_connection_emit_signal (connection, 489s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 489s # "org.freedesktop.DBus.Properties", 489s # "PropertiesChanged", 489s # signal_variant, 489s # NULL); 489s # } 489s # g_variant_unref (signal_variant); 489s # g_list_free_full (connections, g_object_unref); 489s # } 489s # else 489s # { 489s # g_variant_builder_clear (&builder); 489s # g_variant_builder_clear (&invalidated_builder); 489s # } 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # skeleton->priv->changed_properties = NULL; 489s # skeleton->priv->changed_properties_idle_source = NULL; 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # return FALSE; 489s # } 489s # 489s # static void 489s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 489s # { 489s # ChangedProperty *cp; 489s # GList *l; 489s # cp = NULL; 489s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 489s # { 489s # ChangedProperty *i_cp = l->data; 489s # if (i_cp->info == info) 489s # { 489s # cp = i_cp; 489s # break; 489s # } 489s # } 489s # if (cp == NULL) 489s # { 489s # cp = g_new0 (ChangedProperty, 1); 489s # cp->prop_id = prop_id; 489s # cp->info = info; 489s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 489s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 489s # g_value_copy (orig_value, &cp->orig_value); 489s # } 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_notify (GObject *object, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_mutex_lock (&skeleton->priv->lock); 489s # if (skeleton->priv->changed_properties != NULL && 489s # skeleton->priv->changed_properties_idle_source == NULL) 489s # { 489s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 489s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 489s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 489s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 489s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 489s # g_source_unref (skeleton->priv->changed_properties_idle_source); 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_set_property (GObject *object, 489s # guint prop_id, 489s # const GValue *value, 489s # GParamSpec *pspec) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_object_freeze_notify (object); 489s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 489s # { 489s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 489s # info->emits_changed_signal) 489s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 489s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 489s # g_object_notify_by_pspec (object, pspec); 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # g_object_thaw_notify (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 489s # #else 489s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 489s # #endif 489s # 489s # g_mutex_init (&skeleton->priv->lock); 489s # skeleton->priv->context = g_main_context_ref_thread_default (); 489s # skeleton->priv->properties = g_new0 (GValue, 1); 489s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 489s # } 489s # 489s # static const gchar * 489s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # const gchar *value; 489s # g_mutex_lock (&skeleton->priv->lock); 489s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # return value; 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusInterfaceSkeletonClass *skeleton_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 489s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 489s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 489s # gobject_class->notify = com_acme_coyote_skeleton_notify; 489s # 489s # 489s # com_acme_coyote_override_properties (gobject_class, 1); 489s # 489s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 489s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 489s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 489s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 489s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 489s # { 489s # iface->surprised = _com_acme_coyote_on_signal_surprised; 489s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_skeleton_new: 489s # * 489s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_skeleton_new (void) 489s # { 489s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ 489s # * Code for interface org.project.Bar.Frobnicator 489s # * ------------------------------------------------------------------------ 489s # */ 489s # 489s # /** 489s # * SECTION:OrgProjectBarFrobnicator 489s # * @title: OrgProjectBarFrobnicator 489s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 489s # * 489s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 489s # */ 489s # 489s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 489s # 489s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 489s # { 489s # { 489s # -1, 489s # (gchar *) "RandomMethod", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-random-method", 489s # FALSE 489s # }; 489s # 489s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 489s # { 489s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 489s # { 489s # { 489s # -1, 489s # (gchar *) "org.project.Bar.Frobnicator", 489s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "org-project-bar-frobnicator", 489s # }; 489s # 489s # 489s # /** 489s # * org_project_bar_frobnicator_interface_info: 489s # * 489s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 489s # * 489s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 489s # */ 489s # GDBusInterfaceInfo * 489s # org_project_bar_frobnicator_interface_info (void) 489s # { 489s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_override_properties: 489s # * @klass: The class structure for a #GObject derived class. 489s # * @property_id_begin: The property id to assign to the first overridden property. 489s # * 489s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 489s # * The properties are overridden in the order they are defined. 489s # * 489s # * Returns: The last property id. 489s # */ 489s # guint 489s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 489s # { 489s # return property_id_begin - 1; 489s # } 489s # 489s # 489s # inline static void 489s # org_project_bar_frobnicator_method_marshal_random_method ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # 489s # /** 489s # * OrgProjectBarFrobnicator: 489s # * 489s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorIface: 489s # * @parent_iface: The parent interface. 489s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 489s # * 489s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 489s # */ 489s # 489s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 489s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 489s # 489s # static void 489s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 489s # { 489s # /* GObject signals for incoming D-Bus method calls: */ 489s # /** 489s # * OrgProjectBarFrobnicator::handle-random-method: 489s # * @object: A #OrgProjectBarFrobnicator. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-random-method", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # org_project_bar_frobnicator_method_marshal_random_method, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # org_project_bar_frobnicator_call_random_method ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "RandomMethod", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method_finish: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # org_project_bar_frobnicator_call_random_method_finish ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method_sync: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # org_project_bar_frobnicator_call_random_method_sync ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "RandomMethod", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_complete_random_method: 489s # * @object: A #OrgProjectBarFrobnicator. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # org_project_bar_frobnicator_complete_random_method ( 489s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorProxy: 489s # * 489s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorProxyClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #OrgProjectBarFrobnicatorProxy. 489s # */ 489s # 489s # struct _OrgProjectBarFrobnicatorProxyPrivate 489s # { 489s # GData *qdata; 489s # }; 489s # 489s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 489s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 489s # 489s # #endif 489s # static void 489s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 489s # { 489s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 489s # g_datalist_clear (&proxy->priv->qdata); 489s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 489s # guint prop_id G_GNUC_UNUSED, 489s # GValue *value G_GNUC_UNUSED, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 489s # guint prop_id G_GNUC_UNUSED, 489s # const GValue *value G_GNUC_UNUSED, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 489s # const gchar *sender_name G_GNUC_UNUSED, 489s # const gchar *signal_name, 489s # GVariant *parameters) 489s # { 489s # _ExtendedGDBusSignalInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # gsize n; 489s # guint signal_id; 489s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 489s # if (info == NULL) 489s # return; 489s # num_params = g_variant_n_children (parameters); 489s # paramv = g_new0 (GValue, num_params + 1); 489s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_set_object (¶mv[0], proxy); 489s # g_variant_iter_init (&iter, parameters); 489s # n = 1; 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_signal_emitv (paramv, signal_id, 0, NULL); 489s # for (n = 0; n < num_params + 1; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 489s # GVariant *changed_properties, 489s # const gchar *const *invalidated_properties) 489s # { 489s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 489s # guint n; 489s # const gchar *key; 489s # GVariantIter *iter; 489s # _ExtendedGDBusPropertyInfo *info; 489s # g_variant_get (changed_properties, "a{sv}", &iter); 489s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 489s # g_datalist_remove_data (&proxy->priv->qdata, key); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # g_variant_iter_free (iter); 489s # for (n = 0; invalidated_properties[n] != NULL; n++) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 489s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 489s # #else 489s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 489s # #endif 489s # 489s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusProxyClass *proxy_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 489s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 489s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 489s # 489s # proxy_class = G_DBUS_PROXY_CLASS (klass); 489s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 489s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # org_project_bar_frobnicator_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_sync: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # org_project_bar_frobnicator_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorSkeleton: 489s # * 489s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorSkeletonClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 489s # */ 489s # 489s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 489s # { 489s # GValue *properties; 489s # GList *changed_properties; 489s # GSource *changed_properties_idle_source; 489s # GMainContext *context; 489s # GMutex lock; 489s # }; 489s # 489s # static void 489s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name, 489s # const gchar *method_name, 489s # GVariant *parameters, 489s # GDBusMethodInvocation *invocation, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # _ExtendedGDBusMethodInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # guint num_extra; 489s # gsize n; 489s # guint signal_id; 489s # GValue return_value = G_VALUE_INIT; 489s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 489s # g_assert (info != NULL); 489s # num_params = g_variant_n_children (parameters); 489s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 489s # n = 0; 489s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_set_object (¶mv[n++], skeleton); 489s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 489s # g_value_set_object (¶mv[n++], invocation); 489s # if (info->pass_fdlist) 489s # { 489s # #ifdef G_OS_UNIX 489s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 489s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 489s # #else 489s # g_assert_not_reached (); 489s # #endif 489s # } 489s # g_variant_iter_init (&iter, parameters); 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_init (&return_value, G_TYPE_BOOLEAN); 489s # g_signal_emitv (paramv, signal_id, 0, &return_value); 489s # if (!g_value_get_boolean (&return_value)) 489s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 489s # g_value_unset (&return_value); 489s # for (n = 0; n < num_params + num_extra; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static GVariant * 489s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # GVariant *ret; 489s # ret = NULL; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # g_value_init (&value, pspec->value_type); 489s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_value_unset (&value); 489s # } 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GVariant *variant, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # gboolean ret; 489s # ret = FALSE; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # if (info->use_gvariant) 489s # g_value_set_variant (&value, variant); 489s # else 489s # g_dbus_gvariant_to_gvalue (variant, &value); 489s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # g_value_unset (&value); 489s # ret = TRUE; 489s # } 489s # return ret; 489s # } 489s # 489s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 489s # { 489s # _org_project_bar_frobnicator_skeleton_handle_method_call, 489s # _org_project_bar_frobnicator_skeleton_handle_get_property, 489s # _org_project_bar_frobnicator_skeleton_handle_set_property, 489s # {NULL} 489s # }; 489s # 489s # static GDBusInterfaceInfo * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return org_project_bar_frobnicator_interface_info (); 489s # } 489s # 489s # static GDBusInterfaceVTable * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 489s # } 489s # 489s # static GVariant * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 489s # 489s # GVariantBuilder builder; 489s # guint n; 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 489s # goto out; 489s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 489s # { 489s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 489s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 489s # { 489s # GVariant *value; 489s # 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); 489s # if (value != NULL) 489s # { 489s # g_variant_take_ref (value); 489s # g_variant_builder_add (&builder, "{sv}", info->name, value); 489s # g_variant_unref (value); 489s # } 489s # } 489s # } 489s # out: 489s # return g_variant_builder_end (&builder); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 489s # 489s # #endif 489s # static void 489s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # g_main_context_unref (skeleton->priv->context); 489s # g_mutex_clear (&skeleton->priv->lock); 489s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 489s # #else 489s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 489s # #endif 489s # 489s # g_mutex_init (&skeleton->priv->lock); 489s # skeleton->priv->context = g_main_context_ref_thread_default (); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusInterfaceSkeletonClass *skeleton_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 489s # 489s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 489s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 489s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 489s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 489s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_skeleton_new: 489s # * 489s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_skeleton_new (void) 489s # { 489s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 489s # } 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3520mta5/tmpwqy29rza2.xml', '/tmp/tmp3520mta5/tmpct6gc2pj1.xml', '--output', '-', '--body'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifdef HAVE_CONFIG_H 489s # # include "config.h" 489s # #endif 489s # 489s # #include 489s # #ifdef G_OS_UNIX 489s # # include 489s # #endif 489s # 489s # #ifdef G_ENABLE_DEBUG 489s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 489s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 489s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 489s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 489s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 489s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 489s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 489s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 489s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 489s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 489s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 489s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 489s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 489s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 489s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 489s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 489s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 489s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 489s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 489s # #else /* !G_ENABLE_DEBUG */ 489s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 489s # * Do not access GValues directly in your code. Instead, use the 489s # * g_value_get_*() functions 489s # */ 489s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 489s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 489s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 489s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 489s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 489s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 489s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 489s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 489s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 489s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 489s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 489s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 489s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 489s # #endif /* !G_ENABLE_DEBUG */ 489s # 489s # typedef struct 489s # { 489s # GDBusArgInfo parent_struct; 489s # gboolean use_gvariant; 489s # } _ExtendedGDBusArgInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusMethodInfo parent_struct; 489s # const gchar *signal_name; 489s # gboolean pass_fdlist; 489s # } _ExtendedGDBusMethodInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusSignalInfo parent_struct; 489s # const gchar *signal_name; 489s # } _ExtendedGDBusSignalInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusPropertyInfo parent_struct; 489s # const gchar *hyphen_name; 489s # guint use_gvariant : 1; 489s # guint emits_changed_signal : 1; 489s # } _ExtendedGDBusPropertyInfo; 489s # 489s # typedef struct 489s # { 489s # GDBusInterfaceInfo parent_struct; 489s # const gchar *hyphen_name; 489s # } _ExtendedGDBusInterfaceInfo; 489s # 489s # typedef struct 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # guint prop_id; 489s # GValue orig_value; /* the value before the change */ 489s # } ChangedProperty; 489s # 489s # static void 489s # _changed_property_free (ChangedProperty *data) 489s # { 489s # g_value_unset (&data->orig_value); 489s # g_free (data); 489s # } 489s # 489s # static gboolean 489s # _g_strv_equal0 (gchar **a, gchar **b) 489s # { 489s # gboolean ret = FALSE; 489s # guint n; 489s # if (a == NULL && b == NULL) 489s # { 489s # ret = TRUE; 489s # goto out; 489s # } 489s # if (a == NULL || b == NULL) 489s # goto out; 489s # if (g_strv_length (a) != g_strv_length (b)) 489s # goto out; 489s # for (n = 0; a[n] != NULL; n++) 489s # if (g_strcmp0 (a[n], b[n]) != 0) 489s # goto out; 489s # ret = TRUE; 489s # out: 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _g_variant_equal0 (GVariant *a, GVariant *b) 489s # { 489s # gboolean ret = FALSE; 489s # if (a == NULL && b == NULL) 489s # { 489s # ret = TRUE; 489s # goto out; 489s # } 489s # if (a == NULL || b == NULL) 489s # goto out; 489s # ret = g_variant_equal (a, b); 489s # out: 489s # return ret; 489s # } 489s # 489s # G_GNUC_UNUSED static gboolean 489s # _g_value_equal (const GValue *a, const GValue *b) 489s # { 489s # gboolean ret = FALSE; 489s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 489s # switch (G_VALUE_TYPE (a)) 489s # { 489s # case G_TYPE_BOOLEAN: 489s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 489s # break; 489s # case G_TYPE_UCHAR: 489s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 489s # break; 489s # case G_TYPE_INT: 489s # ret = (g_value_get_int (a) == g_value_get_int (b)); 489s # break; 489s # case G_TYPE_UINT: 489s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 489s # break; 489s # case G_TYPE_INT64: 489s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 489s # break; 489s # case G_TYPE_UINT64: 489s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 489s # break; 489s # case G_TYPE_DOUBLE: 489s # { 489s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 489s # gdouble da = g_value_get_double (a); 489s # gdouble db = g_value_get_double (b); 489s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 489s # } 489s # break; 489s # case G_TYPE_STRING: 489s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 489s # break; 489s # case G_TYPE_VARIANT: 489s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 489s # break; 489s # default: 489s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 489s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 489s # else 489s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 489s # break; 489s # } 489s # return ret; 489s # } 489s # 489s # static void 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint G_GNUC_UNUSED, 489s # void *marshal_data) 489s # { 489s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 489s # (void *data1, 489s # GDBusMethodInvocation *arg_method_invocation, 489s # void *data2); 489s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 489s # GCClosure *cc = (GCClosure*) closure; 489s # void *data1, *data2; 489s # gboolean v_return; 489s # 489s # g_return_if_fail (return_value != NULL); 489s # g_return_if_fail (n_param_values == 2); 489s # 489s # if (G_CCLOSURE_SWAP_DATA (closure)) 489s # { 489s # data1 = closure->data; 489s # data2 = g_value_peek_pointer (param_values + 0); 489s # } 489s # else 489s # { 489s # data1 = g_value_peek_pointer (param_values + 0); 489s # data2 = closure->data; 489s # } 489s # 489s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 489s # (marshal_data ? marshal_data : cc->callback); 489s # 489s # v_return = 489s # callback (data1, 489s # g_marshal_value_peek_object (param_values + 1), 489s # data2); 489s # 489s # g_value_set_boolean (return_value, v_return); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ 489s # * Code for interface com.acme.Coyote 489s # * ------------------------------------------------------------------------ 489s # */ 489s # 489s # /** 489s # * SECTION:ComAcmeCoyote 489s # * @title: ComAcmeCoyote 489s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 489s # * 489s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 489s # */ 489s # 489s # enum 489s # { 489s # _COM_ACME_COYOTE_SURPRISED, 489s # }; 489s # 489s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 489s # 489s # /* ---- Introspection data for com.acme.Coyote ---- */ 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Run", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-run", 489s # FALSE 489s # }; 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Sleep", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-sleep", 489s # FALSE 489s # }; 489s # 489s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Attack", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-attack", 489s # FALSE 489s # }; 489s # 489s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 489s # { 489s # &_com_acme_coyote_method_info_run.parent_struct, 489s # &_com_acme_coyote_method_info_sleep.parent_struct, 489s # &_com_acme_coyote_method_info_attack.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Surprised", 489s # NULL, 489s # NULL 489s # }, 489s # "surprised" 489s # }; 489s # 489s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 489s # { 489s # &_com_acme_coyote_signal_info_surprised.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 489s # { 489s # { 489s # -1, 489s # (gchar *) "Mood", 489s # (gchar *) "s", 489s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 489s # NULL 489s # }, 489s # "mood", 489s # FALSE, 489s # TRUE 489s # }; 489s # 489s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 489s # { 489s # &_com_acme_coyote_property_info_mood.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 489s # { 489s # { 489s # -1, 489s # (gchar *) "com.acme.Coyote", 489s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 489s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 489s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 489s # NULL 489s # }, 489s # "com-acme-coyote", 489s # }; 489s # 489s # 489s # /** 489s # * com_acme_coyote_interface_info: 489s # * 489s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 489s # * 489s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 489s # */ 489s # GDBusInterfaceInfo * 489s # com_acme_coyote_interface_info (void) 489s # { 489s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_override_properties: 489s # * @klass: The class structure for a #GObject derived class. 489s # * @property_id_begin: The property id to assign to the first overridden property. 489s # * 489s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 489s # * The properties are overridden in the order they are defined. 489s # * 489s # * Returns: The last property id. 489s # */ 489s # guint 489s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 489s # { 489s # g_object_class_override_property (klass, property_id_begin++, "mood"); 489s # return property_id_begin - 1; 489s # } 489s # 489s # 489s # inline static void 489s # com_acme_coyote_signal_marshal_surprised ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # g_cclosure_marshal_VOID__VOID (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_run ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_sleep ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # inline static void 489s # com_acme_coyote_method_marshal_attack ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # 489s # /** 489s # * ComAcmeCoyote: 489s # * 489s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteIface: 489s # * @parent_iface: The parent interface. 489s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 489s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 489s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 489s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 489s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 489s # * 489s # * Virtual table for the D-Bus interface com.acme.Coyote. 489s # */ 489s # 489s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 489s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 489s # 489s # static void 489s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 489s # { 489s # /* GObject signals for incoming D-Bus method calls: */ 489s # /** 489s # * ComAcmeCoyote::handle-run: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-run", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_run, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /** 489s # * ComAcmeCoyote::handle-sleep: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-sleep", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_sleep, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /** 489s # * ComAcmeCoyote::handle-attack: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-attack", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # com_acme_coyote_method_marshal_attack, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # /* GObject signals for received D-Bus signals: */ 489s # /** 489s # * ComAcmeCoyote::surprised: 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 489s # * 489s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 489s # */ 489s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 489s # g_signal_new ("surprised", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 489s # NULL, 489s # NULL, 489s # com_acme_coyote_signal_marshal_surprised, 489s # G_TYPE_NONE, 489s # 0); 489s # 489s # /* GObject properties for D-Bus properties: */ 489s # /** 489s # * ComAcmeCoyote:mood: 489s # * 489s # * Represents the D-Bus property "Mood". 489s # * 489s # * 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. 489s # */ 489s # g_object_interface_install_property (iface, 489s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_get_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Gets the value of the "Mood" D-Bus property. 489s # * 489s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # const gchar * 489s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 489s # { 489s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 489s # 489s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_dup_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Gets a copy of the "Mood" D-Bus property. 489s # * 489s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 489s # * 489s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 489s # */ 489s # gchar * 489s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 489s # { 489s # gchar *value; 489s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 489s # return value; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_set_mood: (skip) 489s # * @object: A #ComAcmeCoyote. 489s # * @value: The value to set. 489s # * 489s # * Sets the "Mood" D-Bus property to @value. 489s # * 489s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 489s # */ 489s # void 489s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 489s # { 489s # g_object_set (G_OBJECT (object), "mood", value, NULL); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_emit_surprised: 489s # * @object: A #ComAcmeCoyote. 489s # * 489s # * Emits the "Surprised" D-Bus signal. 489s # */ 489s # void 489s # com_acme_coyote_emit_surprised ( 489s # ComAcmeCoyote *object) 489s # { 489s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Run() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_run ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Run", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_run(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_run_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_run_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_run_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Run", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_sleep ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Sleep", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_sleep(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_sleep_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_sleep_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_sleep_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Sleep", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # com_acme_coyote_call_attack ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "Attack", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack_finish: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with com_acme_coyote_call_attack(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_attack_finish ( 489s # ComAcmeCoyote *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_call_attack_sync: 489s # * @proxy: A #ComAcmeCoyoteProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # com_acme_coyote_call_attack_sync ( 489s # ComAcmeCoyote *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "Attack", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_run: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_run ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_sleep: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_sleep ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_complete_attack: 489s # * @object: A #ComAcmeCoyote. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # com_acme_coyote_complete_attack ( 489s # ComAcmeCoyote *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * ComAcmeCoyoteProxy: 489s # * 489s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteProxyClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #ComAcmeCoyoteProxy. 489s # */ 489s # 489s # struct _ComAcmeCoyoteProxyPrivate 489s # { 489s # GData *qdata; 489s # }; 489s # 489s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 489s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 489s # 489s # #endif 489s # static void 489s # com_acme_coyote_proxy_finalize (GObject *object) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 489s # g_datalist_clear (&proxy->priv->qdata); 489s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_get_property (GObject *object, 489s # guint prop_id, 489s # GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # GVariant *variant; 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 489s # if (info->use_gvariant) 489s # { 489s # g_value_set_variant (value, variant); 489s # } 489s # else 489s # { 489s # if (variant != NULL) 489s # g_dbus_gvariant_to_gvalue (variant, value); 489s # } 489s # if (variant != NULL) 489s # g_variant_unref (variant); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 489s # GAsyncResult *res, 489s # gpointer user_data) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info = user_data; 489s # GError *error; 489s # GVariant *_ret; 489s # error = NULL; 489s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 489s # if (!_ret) 489s # { 489s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 489s # info->parent_struct.name, 489s # error->message, g_quark_to_string (error->domain), error->code); 489s # g_error_free (error); 489s # } 489s # else 489s # { 489s # g_variant_unref (_ret); 489s # } 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_set_property (GObject *object, 489s # guint prop_id, 489s # const GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # GVariant *variant; 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_dbus_proxy_call (G_DBUS_PROXY (object), 489s # "org.freedesktop.DBus.Properties.Set", 489s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 489s # g_variant_unref (variant); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 489s # const gchar *sender_name G_GNUC_UNUSED, 489s # const gchar *signal_name, 489s # GVariant *parameters) 489s # { 489s # _ExtendedGDBusSignalInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # gsize n; 489s # guint signal_id; 489s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 489s # if (info == NULL) 489s # return; 489s # num_params = g_variant_n_children (parameters); 489s # paramv = g_new0 (GValue, num_params + 1); 489s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 489s # g_value_set_object (¶mv[0], proxy); 489s # g_variant_iter_init (&iter, parameters); 489s # n = 1; 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 489s # g_signal_emitv (paramv, signal_id, 0, NULL); 489s # for (n = 0; n < num_params + 1; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 489s # GVariant *changed_properties, 489s # const gchar *const *invalidated_properties) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 489s # guint n; 489s # const gchar *key; 489s # GVariantIter *iter; 489s # _ExtendedGDBusPropertyInfo *info; 489s # g_variant_get (changed_properties, "a{sv}", &iter); 489s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 489s # g_datalist_remove_data (&proxy->priv->qdata, key); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # g_variant_iter_free (iter); 489s # for (n = 0; invalidated_properties[n] != NULL; n++) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 489s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # } 489s # 489s # static const gchar * 489s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 489s # GVariant *variant; 489s # const gchar *value = NULL; 489s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 489s # if (variant != NULL) 489s # { 489s # value = g_variant_get_string (variant, NULL); 489s # g_variant_unref (variant); 489s # } 489s # return value; 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 489s # #else 489s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 489s # #endif 489s # 489s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusProxyClass *proxy_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 489s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 489s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 489s # 489s # proxy_class = G_DBUS_PROXY_CLASS (klass); 489s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 489s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 489s # 489s # com_acme_coyote_override_properties (gobject_class, 1); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 489s # { 489s # iface->get_mood = com_acme_coyote_proxy_get_mood; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # com_acme_coyote_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with com_acme_coyote_proxy_new(). 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_sync: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 489s # * 489s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # com_acme_coyote_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_proxy_new_for_bus_sync: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return COM_ACME_COYOTE (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * ComAcmeCoyoteSkeleton: 489s # * 489s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * ComAcmeCoyoteSkeletonClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #ComAcmeCoyoteSkeleton. 489s # */ 489s # 489s # struct _ComAcmeCoyoteSkeletonPrivate 489s # { 489s # GValue *properties; 489s # GList *changed_properties; 489s # GSource *changed_properties_idle_source; 489s # GMainContext *context; 489s # GMutex lock; 489s # }; 489s # 489s # static void 489s # _com_acme_coyote_skeleton_handle_method_call ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name, 489s # const gchar *method_name, 489s # GVariant *parameters, 489s # GDBusMethodInvocation *invocation, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # _ExtendedGDBusMethodInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # guint num_extra; 489s # gsize n; 489s # guint signal_id; 489s # GValue return_value = G_VALUE_INIT; 489s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 489s # g_assert (info != NULL); 489s # num_params = g_variant_n_children (parameters); 489s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 489s # n = 0; 489s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 489s # g_value_set_object (¶mv[n++], skeleton); 489s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 489s # g_value_set_object (¶mv[n++], invocation); 489s # if (info->pass_fdlist) 489s # { 489s # #ifdef G_OS_UNIX 489s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 489s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 489s # #else 489s # g_assert_not_reached (); 489s # #endif 489s # } 489s # g_variant_iter_init (&iter, parameters); 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 489s # g_value_init (&return_value, G_TYPE_BOOLEAN); 489s # g_signal_emitv (paramv, signal_id, 0, &return_value); 489s # if (!g_value_get_boolean (&return_value)) 489s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 489s # g_value_unset (&return_value); 489s # for (n = 0; n < num_params + num_extra; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static GVariant * 489s # _com_acme_coyote_skeleton_handle_get_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # GVariant *ret; 489s # ret = NULL; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # g_value_init (&value, pspec->value_type); 489s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_value_unset (&value); 489s # } 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _com_acme_coyote_skeleton_handle_set_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GVariant *variant, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # gboolean ret; 489s # ret = FALSE; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # if (info->use_gvariant) 489s # g_value_set_variant (&value, variant); 489s # else 489s # g_dbus_gvariant_to_gvalue (variant, &value); 489s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # g_value_unset (&value); 489s # ret = TRUE; 489s # } 489s # return ret; 489s # } 489s # 489s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 489s # { 489s # _com_acme_coyote_skeleton_handle_method_call, 489s # _com_acme_coyote_skeleton_handle_get_property, 489s # _com_acme_coyote_skeleton_handle_set_property, 489s # {NULL} 489s # }; 489s # 489s # static GDBusInterfaceInfo * 489s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return com_acme_coyote_interface_info (); 489s # } 489s # 489s # static GDBusInterfaceVTable * 489s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 489s # } 489s # 489s # static GVariant * 489s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 489s # 489s # GVariantBuilder builder; 489s # guint n; 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 489s # goto out; 489s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 489s # { 489s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 489s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 489s # { 489s # GVariant *value; 489s # 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); 489s # if (value != NULL) 489s # { 489s # g_variant_take_ref (value); 489s # g_variant_builder_add (&builder, "{sv}", info->name, value); 489s # g_variant_unref (value); 489s # } 489s # } 489s # } 489s # out: 489s # return g_variant_builder_end (&builder); 489s # } 489s # 489s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 489s # 489s # static void 489s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 489s # gboolean emit_changed = FALSE; 489s # 489s # g_mutex_lock (&skeleton->priv->lock); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # { 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # skeleton->priv->changed_properties_idle_source = NULL; 489s # emit_changed = TRUE; 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # 489s # if (emit_changed) 489s # _com_acme_coyote_emit_changed (skeleton); 489s # } 489s # 489s # static void 489s # _com_acme_coyote_on_signal_surprised ( 489s # ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # 489s # GList *connections, *l; 489s # GVariant *signal_variant; 489s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 489s # 489s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 489s # for (l = connections; l != NULL; l = l->next) 489s # { 489s # GDBusConnection *connection = l->data; 489s # g_dbus_connection_emit_signal (connection, 489s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 489s # signal_variant, NULL); 489s # } 489s # g_variant_unref (signal_variant); 489s # g_list_free_full (connections, g_object_unref); 489s # } 489s # 489s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 489s # 489s # #endif 489s # static void 489s # com_acme_coyote_skeleton_finalize (GObject *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # guint n; 489s # for (n = 0; n < 1; n++) 489s # g_value_unset (&skeleton->priv->properties[n]); 489s # g_free (skeleton->priv->properties); 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # g_main_context_unref (skeleton->priv->context); 489s # g_mutex_clear (&skeleton->priv->lock); 489s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_get_property (GObject *object, 489s # guint prop_id, 489s # GValue *value, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # } 489s # 489s # static gboolean 489s # _com_acme_coyote_emit_changed (gpointer user_data) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 489s # GList *l; 489s # GVariantBuilder builder; 489s # GVariantBuilder invalidated_builder; 489s # guint num_changes; 489s # 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 489s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 489s # { 489s # ChangedProperty *cp = l->data; 489s # GVariant *variant; 489s # const GValue *cur_value; 489s # 489s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 489s # if (!_g_value_equal (cur_value, &cp->orig_value)) 489s # { 489s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 489s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 489s # g_variant_unref (variant); 489s # num_changes++; 489s # } 489s # } 489s # if (num_changes > 0) 489s # { 489s # GList *connections, *ll; 489s # GVariant *signal_variant; 489s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 489s # &builder, &invalidated_builder)); 489s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 489s # for (ll = connections; ll != NULL; ll = ll->next) 489s # { 489s # GDBusConnection *connection = ll->data; 489s # 489s # g_dbus_connection_emit_signal (connection, 489s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 489s # "org.freedesktop.DBus.Properties", 489s # "PropertiesChanged", 489s # signal_variant, 489s # NULL); 489s # } 489s # g_variant_unref (signal_variant); 489s # g_list_free_full (connections, g_object_unref); 489s # } 489s # else 489s # { 489s # g_variant_builder_clear (&builder); 489s # g_variant_builder_clear (&invalidated_builder); 489s # } 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # skeleton->priv->changed_properties = NULL; 489s # skeleton->priv->changed_properties_idle_source = NULL; 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # return FALSE; 489s # } 489s # 489s # static void 489s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 489s # { 489s # ChangedProperty *cp; 489s # GList *l; 489s # cp = NULL; 489s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 489s # { 489s # ChangedProperty *i_cp = l->data; 489s # if (i_cp->info == info) 489s # { 489s # cp = i_cp; 489s # break; 489s # } 489s # } 489s # if (cp == NULL) 489s # { 489s # cp = g_new0 (ChangedProperty, 1); 489s # cp->prop_id = prop_id; 489s # cp->info = info; 489s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 489s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 489s # g_value_copy (orig_value, &cp->orig_value); 489s # } 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_notify (GObject *object, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_mutex_lock (&skeleton->priv->lock); 489s # if (skeleton->priv->changed_properties != NULL && 489s # skeleton->priv->changed_properties_idle_source == NULL) 489s # { 489s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 489s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 489s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 489s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 489s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 489s # g_source_unref (skeleton->priv->changed_properties_idle_source); 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_set_property (GObject *object, 489s # guint prop_id, 489s # const GValue *value, 489s # GParamSpec *pspec) 489s # { 489s # const _ExtendedGDBusPropertyInfo *info; 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # g_assert (prop_id != 0 && prop_id - 1 < 1); 489s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 489s # g_mutex_lock (&skeleton->priv->lock); 489s # g_object_freeze_notify (object); 489s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 489s # { 489s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 489s # info->emits_changed_signal) 489s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 489s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 489s # g_object_notify_by_pspec (object, pspec); 489s # } 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # g_object_thaw_notify (object); 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 489s # #else 489s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 489s # #endif 489s # 489s # g_mutex_init (&skeleton->priv->lock); 489s # skeleton->priv->context = g_main_context_ref_thread_default (); 489s # skeleton->priv->properties = g_new0 (GValue, 1); 489s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 489s # } 489s # 489s # static const gchar * 489s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 489s # { 489s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 489s # const gchar *value; 489s # g_mutex_lock (&skeleton->priv->lock); 489s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 489s # g_mutex_unlock (&skeleton->priv->lock); 489s # return value; 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusInterfaceSkeletonClass *skeleton_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 489s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 489s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 489s # gobject_class->notify = com_acme_coyote_skeleton_notify; 489s # 489s # 489s # com_acme_coyote_override_properties (gobject_class, 1); 489s # 489s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 489s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 489s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 489s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 489s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 489s # { 489s # iface->surprised = _com_acme_coyote_on_signal_surprised; 489s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 489s # } 489s # 489s # /** 489s # * com_acme_coyote_skeleton_new: 489s # * 489s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 489s # * 489s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 489s # */ 489s # ComAcmeCoyote * 489s # com_acme_coyote_skeleton_new (void) 489s # { 489s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ 489s # * Code for interface org.project.Bar.Frobnicator 489s # * ------------------------------------------------------------------------ 489s # */ 489s # 489s # /** 489s # * SECTION:OrgProjectBarFrobnicator 489s # * @title: OrgProjectBarFrobnicator 489s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 489s # * 489s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 489s # */ 489s # 489s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 489s # 489s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 489s # { 489s # { 489s # -1, 489s # (gchar *) "RandomMethod", 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "handle-random-method", 489s # FALSE 489s # }; 489s # 489s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 489s # { 489s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 489s # NULL 489s # }; 489s # 489s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 489s # { 489s # { 489s # -1, 489s # (gchar *) "org.project.Bar.Frobnicator", 489s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 489s # NULL, 489s # NULL, 489s # NULL 489s # }, 489s # "org-project-bar-frobnicator", 489s # }; 489s # 489s # 489s # /** 489s # * org_project_bar_frobnicator_interface_info: 489s # * 489s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 489s # * 489s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 489s # */ 489s # GDBusInterfaceInfo * 489s # org_project_bar_frobnicator_interface_info (void) 489s # { 489s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_override_properties: 489s # * @klass: The class structure for a #GObject derived class. 489s # * @property_id_begin: The property id to assign to the first overridden property. 489s # * 489s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 489s # * The properties are overridden in the order they are defined. 489s # * 489s # * Returns: The last property id. 489s # */ 489s # guint 489s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 489s # { 489s # return property_id_begin - 1; 489s # } 489s # 489s # 489s # inline static void 489s # org_project_bar_frobnicator_method_marshal_random_method ( 489s # GClosure *closure, 489s # GValue *return_value, 489s # unsigned int n_param_values, 489s # const GValue *param_values, 489s # void *invocation_hint, 489s # void *marshal_data) 489s # { 489s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 489s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 489s # } 489s # 489s # 489s # /** 489s # * OrgProjectBarFrobnicator: 489s # * 489s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorIface: 489s # * @parent_iface: The parent interface. 489s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 489s # * 489s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 489s # */ 489s # 489s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 489s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 489s # 489s # static void 489s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 489s # { 489s # /* GObject signals for incoming D-Bus method calls: */ 489s # /** 489s # * OrgProjectBarFrobnicator::handle-random-method: 489s # * @object: A #OrgProjectBarFrobnicator. 489s # * @invocation: A #GDBusMethodInvocation. 489s # * 489s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 489s # * 489s # * 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. 489s # * 489s # * 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. 489s # */ 489s # g_signal_new ("handle-random-method", 489s # G_TYPE_FROM_INTERFACE (iface), 489s # G_SIGNAL_RUN_LAST, 489s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 489s # g_signal_accumulator_true_handled, 489s # NULL, 489s # org_project_bar_frobnicator_method_marshal_random_method, 489s # G_TYPE_BOOLEAN, 489s # 1, 489s # G_TYPE_DBUS_METHOD_INVOCATION); 489s # 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 489s # */ 489s # void 489s # org_project_bar_frobnicator_call_random_method ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 489s # "RandomMethod", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # callback, 489s # user_data); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method_finish: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # org_project_bar_frobnicator_call_random_method_finish ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_call_random_method_sync: 489s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL. 489s # * 489s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 489s # * 489s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 489s # */ 489s # gboolean 489s # org_project_bar_frobnicator_call_random_method_sync ( 489s # OrgProjectBarFrobnicator *proxy, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GVariant *_ret; 489s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 489s # "RandomMethod", 489s # g_variant_new ("()"), 489s # G_DBUS_CALL_FLAGS_NONE, 489s # -1, 489s # cancellable, 489s # error); 489s # if (_ret == NULL) 489s # goto _out; 489s # g_variant_get (_ret, 489s # "()"); 489s # g_variant_unref (_ret); 489s # _out: 489s # return _ret != NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_complete_random_method: 489s # * @object: A #OrgProjectBarFrobnicator. 489s # * @invocation: (transfer full): A #GDBusMethodInvocation. 489s # * 489s # * 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. 489s # * 489s # * This method will free @invocation, you cannot use it afterwards. 489s # */ 489s # void 489s # org_project_bar_frobnicator_complete_random_method ( 489s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 489s # GDBusMethodInvocation *invocation) 489s # { 489s # g_dbus_method_invocation_return_value (invocation, 489s # g_variant_new ("()")); 489s # } 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorProxy: 489s # * 489s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorProxyClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #OrgProjectBarFrobnicatorProxy. 489s # */ 489s # 489s # struct _OrgProjectBarFrobnicatorProxyPrivate 489s # { 489s # GData *qdata; 489s # }; 489s # 489s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 489s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 489s # 489s # #endif 489s # static void 489s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 489s # { 489s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 489s # g_datalist_clear (&proxy->priv->qdata); 489s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 489s # guint prop_id G_GNUC_UNUSED, 489s # GValue *value G_GNUC_UNUSED, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 489s # guint prop_id G_GNUC_UNUSED, 489s # const GValue *value G_GNUC_UNUSED, 489s # GParamSpec *pspec G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 489s # const gchar *sender_name G_GNUC_UNUSED, 489s # const gchar *signal_name, 489s # GVariant *parameters) 489s # { 489s # _ExtendedGDBusSignalInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # gsize n; 489s # guint signal_id; 489s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 489s # if (info == NULL) 489s # return; 489s # num_params = g_variant_n_children (parameters); 489s # paramv = g_new0 (GValue, num_params + 1); 489s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_set_object (¶mv[0], proxy); 489s # g_variant_iter_init (&iter, parameters); 489s # n = 1; 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_signal_emitv (paramv, signal_id, 0, NULL); 489s # for (n = 0; n < num_params + 1; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 489s # GVariant *changed_properties, 489s # const gchar *const *invalidated_properties) 489s # { 489s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 489s # guint n; 489s # const gchar *key; 489s # GVariantIter *iter; 489s # _ExtendedGDBusPropertyInfo *info; 489s # g_variant_get (changed_properties, "a{sv}", &iter); 489s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 489s # g_datalist_remove_data (&proxy->priv->qdata, key); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # g_variant_iter_free (iter); 489s # for (n = 0; invalidated_properties[n] != NULL; n++) 489s # { 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 489s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 489s # if (info != NULL) 489s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 489s # } 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 489s # #else 489s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 489s # #endif 489s # 489s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusProxyClass *proxy_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 489s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 489s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 489s # 489s # proxy_class = G_DBUS_PROXY_CLASS (klass); 489s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 489s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # org_project_bar_frobnicator_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_sync: 489s # * @connection: A #GDBusConnection. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 489s # * @user_data: User data to pass to @callback. 489s # * 489s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 489s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 489s # */ 489s # void 489s # org_project_bar_frobnicator_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data) 489s # { 489s # 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); 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 489s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 489s # * @error: Return location for error or %NULL 489s # * 489s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error) 489s # { 489s # GObject *ret; 489s # GObject *source_object; 489s # source_object = g_async_result_get_source_object (res); 489s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 489s # g_object_unref (source_object); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 489s # * @bus_type: A #GBusType. 489s # * @flags: Flags from the #GDBusProxyFlags enumeration. 489s # * @name: A bus name (well-known or unique). 489s # * @object_path: An object path. 489s # * @cancellable: (nullable): A #GCancellable or %NULL. 489s # * @error: Return location for error or %NULL 489s # * 489s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 489s # * 489s # * The calling thread is blocked until a reply is received. 489s # * 489s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error) 489s # { 489s # GInitable *ret; 489s # 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); 489s # if (ret != NULL) 489s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 489s # else 489s # return NULL; 489s # } 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorSkeleton: 489s # * 489s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 489s # */ 489s # 489s # /** 489s # * OrgProjectBarFrobnicatorSkeletonClass: 489s # * @parent_class: The parent class. 489s # * 489s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 489s # */ 489s # 489s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 489s # { 489s # GValue *properties; 489s # GList *changed_properties; 489s # GSource *changed_properties_idle_source; 489s # GMainContext *context; 489s # GMutex lock; 489s # }; 489s # 489s # static void 489s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name, 489s # const gchar *method_name, 489s # GVariant *parameters, 489s # GDBusMethodInvocation *invocation, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # _ExtendedGDBusMethodInfo *info; 489s # GVariantIter iter; 489s # GVariant *child; 489s # GValue *paramv; 489s # gsize num_params; 489s # guint num_extra; 489s # gsize n; 489s # guint signal_id; 489s # GValue return_value = G_VALUE_INIT; 489s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 489s # g_assert (info != NULL); 489s # num_params = g_variant_n_children (parameters); 489s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 489s # n = 0; 489s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_set_object (¶mv[n++], skeleton); 489s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 489s # g_value_set_object (¶mv[n++], invocation); 489s # if (info->pass_fdlist) 489s # { 489s # #ifdef G_OS_UNIX 489s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 489s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 489s # #else 489s # g_assert_not_reached (); 489s # #endif 489s # } 489s # g_variant_iter_init (&iter, parameters); 489s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 489s # { 489s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 489s # if (arg_info->use_gvariant) 489s # { 489s # g_value_init (¶mv[n], G_TYPE_VARIANT); 489s # g_value_set_variant (¶mv[n], child); 489s # n++; 489s # } 489s # else 489s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 489s # g_variant_unref (child); 489s # } 489s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 489s # g_value_init (&return_value, G_TYPE_BOOLEAN); 489s # g_signal_emitv (paramv, signal_id, 0, &return_value); 489s # if (!g_value_get_boolean (&return_value)) 489s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 489s # g_value_unset (&return_value); 489s # for (n = 0; n < num_params + num_extra; n++) 489s # g_value_unset (¶mv[n]); 489s # g_free (paramv); 489s # } 489s # 489s # static GVariant * 489s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # GVariant *ret; 489s # ret = NULL; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # g_value_init (&value, pspec->value_type); 489s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 489s # g_value_unset (&value); 489s # } 489s # return ret; 489s # } 489s # 489s # static gboolean 489s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 489s # GDBusConnection *connection G_GNUC_UNUSED, 489s # const gchar *sender G_GNUC_UNUSED, 489s # const gchar *object_path G_GNUC_UNUSED, 489s # const gchar *interface_name G_GNUC_UNUSED, 489s # const gchar *property_name, 489s # GVariant *variant, 489s # GError **error, 489s # gpointer user_data) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 489s # GValue value = G_VALUE_INIT; 489s # GParamSpec *pspec; 489s # _ExtendedGDBusPropertyInfo *info; 489s # gboolean ret; 489s # ret = FALSE; 489s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 489s # g_assert (info != NULL); 489s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 489s # if (pspec == NULL) 489s # { 489s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 489s # } 489s # else 489s # { 489s # if (info->use_gvariant) 489s # g_value_set_variant (&value, variant); 489s # else 489s # g_dbus_gvariant_to_gvalue (variant, &value); 489s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 489s # g_value_unset (&value); 489s # ret = TRUE; 489s # } 489s # return ret; 489s # } 489s # 489s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 489s # { 489s # _org_project_bar_frobnicator_skeleton_handle_method_call, 489s # _org_project_bar_frobnicator_skeleton_handle_get_property, 489s # _org_project_bar_frobnicator_skeleton_handle_set_property, 489s # {NULL} 489s # }; 489s # 489s # static GDBusInterfaceInfo * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return org_project_bar_frobnicator_interface_info (); 489s # } 489s # 489s # static GDBusInterfaceVTable * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 489s # { 489s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 489s # } 489s # 489s # static GVariant * 489s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 489s # 489s # GVariantBuilder builder; 489s # guint n; 489s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 489s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 489s # goto out; 489s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 489s # { 489s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 489s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 489s # { 489s # GVariant *value; 489s # 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); 489s # if (value != NULL) 489s # { 489s # g_variant_take_ref (value); 489s # g_variant_builder_add (&builder, "{sv}", info->name, value); 489s # g_variant_unref (value); 489s # } 489s # } 489s # } 489s # out: 489s # return g_variant_builder_end (&builder); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 489s # 489s # #else 489s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 489s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 489s # 489s # #endif 489s # static void 489s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 489s # { 489s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 489s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 489s # if (skeleton->priv->changed_properties_idle_source != NULL) 489s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 489s # g_main_context_unref (skeleton->priv->context); 489s # g_mutex_clear (&skeleton->priv->lock); 489s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 489s # { 489s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 489s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 489s # #else 489s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 489s # #endif 489s # 489s # g_mutex_init (&skeleton->priv->lock); 489s # skeleton->priv->context = g_main_context_ref_thread_default (); 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 489s # { 489s # GObjectClass *gobject_class; 489s # GDBusInterfaceSkeletonClass *skeleton_class; 489s # 489s # gobject_class = G_OBJECT_CLASS (klass); 489s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 489s # 489s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 489s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 489s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 489s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 489s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 489s # 489s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 489s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 489s # #endif 489s # } 489s # 489s # static void 489s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 489s # { 489s # } 489s # 489s # /** 489s # * org_project_bar_frobnicator_skeleton_new: 489s # * 489s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 489s # * 489s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 489s # */ 489s # OrgProjectBarFrobnicator * 489s # org_project_bar_frobnicator_skeleton_new (void) 489s # { 489s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 489s # } 489s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 489s # tmpdir: /tmp/tmpz7lqnpbe 489s # codegen: /usr/bin/gdbus-codegen 489s # /tmp/tmpz7lqnpbe/tmppe_dddoz.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz7lqnpbe/tmppe_dddoz.xml', '--output', '-', '--header'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for FDPassing */ 489s # 489s # #define TYPE_FDPASSING (fdpassing_get_type ()) 489s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 489s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 489s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 489s # 489s # struct _FDPassing; 489s # typedef struct _FDPassing FDPassing; 489s # typedef struct _FDPassingIface FDPassingIface; 489s # 489s # struct _FDPassingIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # gboolean (*handle_hello_fd) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *arg_greeting); 489s # 489s # gboolean (*handle_no_annotation) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale); 489s # 489s # gboolean (*handle_no_annotation_nested) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *arg_files); 489s # 489s # }; 489s # 489s # GType fdpassing_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *fdpassing_interface_info (void); 489s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void fdpassing_complete_hello_fd ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *response); 489s # 489s # void fdpassing_complete_no_annotation ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *response, 489s # const gchar *response_locale); 489s # 489s # void fdpassing_complete_no_annotation_nested ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void fdpassing_call_hello_fd ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GUnixFDList *fd_list, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_hello_fd_finish ( 489s # FDPassing *proxy, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_hello_fd_sync ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GUnixFDList *fd_list, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_finish ( 489s # FDPassing *proxy, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation_nested ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_finish ( 489s # FDPassing *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 489s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 489s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 489s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 489s # 489s # typedef struct _FDPassingProxy FDPassingProxy; 489s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 489s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 489s # 489s # struct _FDPassingProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # FDPassingProxyPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 489s # #endif 489s # 489s # void fdpassing_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 489s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 489s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 489s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 489s # 489s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 489s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 489s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 489s # 489s # struct _FDPassingSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # FDPassingSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 489s # #endif 489s # 489s # FDPassing *fdpassing_skeleton_new (void); 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s # /tmp/tmpz7lqnpbe/tmp42i6tz0k.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz7lqnpbe/tmp42i6tz0k.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for FDPassing */ 489s # 489s # #define TYPE_FDPASSING (fdpassing_get_type ()) 489s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 489s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 489s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 489s # 489s # struct _FDPassing; 489s # typedef struct _FDPassing FDPassing; 489s # typedef struct _FDPassingIface FDPassingIface; 489s # 489s # struct _FDPassingIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # gboolean (*handle_hello_fd) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *arg_greeting); 489s # 489s # gboolean (*handle_no_annotation) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale); 489s # 489s # gboolean (*handle_no_annotation_nested) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *arg_files); 489s # 489s # }; 489s # 489s # GType fdpassing_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *fdpassing_interface_info (void); 489s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void fdpassing_complete_hello_fd ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *response); 489s # 489s # void fdpassing_complete_no_annotation ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GVariant *response, 489s # const gchar *response_locale); 489s # 489s # void fdpassing_complete_no_annotation_nested ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void fdpassing_call_hello_fd ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GUnixFDList *fd_list, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_hello_fd_finish ( 489s # FDPassing *proxy, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_hello_fd_sync ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GUnixFDList *fd_list, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_finish ( 489s # FDPassing *proxy, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation_nested ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_finish ( 489s # FDPassing *proxy, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 489s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 489s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 489s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 489s # 489s # typedef struct _FDPassingProxy FDPassingProxy; 489s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 489s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 489s # 489s # struct _FDPassingProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # FDPassingProxyPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 489s # #endif 489s # 489s # void fdpassing_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 489s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 489s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 489s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 489s # 489s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 489s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 489s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 489s # 489s # struct _FDPassingSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # FDPassingSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 489s # #endif 489s # 489s # FDPassing *fdpassing_skeleton_new (void); 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s # /tmp/tmpz7lqnpbe/tmpm_bm9vij.xml: 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # 489s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz7lqnpbe/tmpm_bm9vij.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 489s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 489s # Output: /* 489s # * This file is generated by gdbus-codegen, do not modify it. 489s # * 489s # * The license of this code is the same as for the D-Bus interface description 489s # * it was derived from. Note that it links to GLib, so must comply with the 489s # * LGPL linking clauses. 489s # */ 489s # 489s # #ifndef __STDOUT__ 489s # #define __STDOUT__ 489s # 489s # #include 489s # 489s # G_BEGIN_DECLS 489s # 489s # 489s # /* ------------------------------------------------------------------------ */ 489s # /* Declarations for FDPassing */ 489s # 489s # #define TYPE_FDPASSING (fdpassing_get_type ()) 489s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 489s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 489s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 489s # 489s # struct _FDPassing; 489s # typedef struct _FDPassing FDPassing; 489s # typedef struct _FDPassingIface FDPassingIface; 489s # 489s # struct _FDPassingIface 489s # { 489s # GTypeInterface parent_iface; 489s # 489s # gboolean (*handle_hello_fd) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *arg_greeting); 489s # 489s # gboolean (*handle_no_annotation) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale); 489s # 489s # gboolean (*handle_no_annotation_nested) ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # GVariant *arg_files); 489s # 489s # }; 489s # 489s # GType fdpassing_get_type (void) G_GNUC_CONST; 489s # 489s # GDBusInterfaceInfo *fdpassing_interface_info (void); 489s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 489s # 489s # 489s # /* D-Bus method call completion functions: */ 489s # void fdpassing_complete_hello_fd ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # const gchar *response); 489s # 489s # void fdpassing_complete_no_annotation ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list, 489s # GVariant *response, 489s # const gchar *response_locale); 489s # 489s # void fdpassing_complete_no_annotation_nested ( 489s # FDPassing *object, 489s # GDBusMethodInvocation *invocation, 489s # GUnixFDList *fd_list); 489s # 489s # 489s # 489s # /* D-Bus method calls: */ 489s # void fdpassing_call_hello_fd ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_hello_fd_finish ( 489s # FDPassing *proxy, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_hello_fd_sync ( 489s # FDPassing *proxy, 489s # const gchar *arg_greeting, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # gchar **out_response, 489s # GUnixFDList **out_fd_list, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_finish ( 489s # FDPassing *proxy, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GUnixFDList **out_fd_list, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_greeting, 489s # const gchar *arg_greeting_locale, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # GVariant **out_response, 489s # gchar **out_response_locale, 489s # GUnixFDList **out_fd_list, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_call_no_annotation_nested ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_finish ( 489s # FDPassing *proxy, 489s # GUnixFDList **out_fd_list, 489s # GAsyncResult *res, 489s # GError **error); 489s # 489s # gboolean fdpassing_call_no_annotation_nested_sync ( 489s # FDPassing *proxy, 489s # GVariant *arg_files, 489s # GDBusCallFlags call_flags, 489s # gint timeout_msec, 489s # GUnixFDList *fd_list, 489s # GUnixFDList **out_fd_list, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 489s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 489s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 489s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 489s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 489s # 489s # typedef struct _FDPassingProxy FDPassingProxy; 489s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 489s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 489s # 489s # struct _FDPassingProxy 489s # { 489s # /*< private >*/ 489s # GDBusProxy parent_instance; 489s # FDPassingProxyPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingProxyClass 489s # { 489s # GDBusProxyClass parent_class; 489s # }; 489s # 489s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 489s # #endif 489s # 489s # void fdpassing_proxy_new ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_sync ( 489s # GDBusConnection *connection, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # void fdpassing_proxy_new_for_bus ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GAsyncReadyCallback callback, 489s # gpointer user_data); 489s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 489s # GAsyncResult *res, 489s # GError **error); 489s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 489s # GBusType bus_type, 489s # GDBusProxyFlags flags, 489s # const gchar *name, 489s # const gchar *object_path, 489s # GCancellable *cancellable, 489s # GError **error); 489s # 489s # 489s # /* ---- */ 489s # 489s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 489s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 489s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 489s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 489s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 489s # 489s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 489s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 489s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 489s # 489s # struct _FDPassingSkeleton 489s # { 489s # /*< private >*/ 489s # GDBusInterfaceSkeleton parent_instance; 489s # FDPassingSkeletonPrivate *priv; 489s # }; 489s # 489s # struct _FDPassingSkeletonClass 489s # { 489s # GDBusInterfaceSkeletonClass parent_class; 489s # }; 489s # 489s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 489s # 489s # #if GLIB_CHECK_VERSION(2, 44, 0) 489s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 489s # #endif 489s # 489s # FDPassing *fdpassing_skeleton_new (void); 489s # 489s # 489s # G_END_DECLS 489s # 489s # #endif /* __STDOUT__ */ 489s 1..39 489s ok - glib/codegen.py.test 489s # Running test: glib/utils-c-11.test 489s TAP version 14 489s # random seed: R02Sfe80ae758acd212c0f6f2ce257b6a714 489s 1..40 489s # Start of utils tests 489s ok 1 /utils/language-names 489s ok 2 /utils/locale-variants 489s ok 3 /utils/version 489s ok 4 /utils/appname 489s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 489s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 489s ok 5 /utils/prgname-thread-safety 489s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 489s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 489s ok 6 /utils/tmpdir 489s ok 7 /utils/basic_bits 489s ok 8 /utils/bits 489s ok 9 /utils/swap 489s ok 10 /utils/find-program 489s ok 11 /utils/find-program-for-path 489s ok 12 /utils/debug 489s ok 13 /utils/codeset 489s ok 14 /utils/codeset2 489s ok 15 /utils/console-charset 489s ok 16 /utils/gettext 489s ok 17 /utils/username 489s ok 18 /utils/realname 489s ok 19 /utils/hostname 489s ok 20 /utils/xdgdirs 489s ok 21 /utils/specialdir 489s # NAME: Ubuntu 489s ok 22 /utils/os-info 489s ok 23 /utils/clear-pointer 489s ok 24 /utils/clear-pointer-cast 489s ok 25 /utils/take-pointer 489s ok 26 /utils/clear-source 489s ok 27 /utils/misc-mem 489s # /utils/aligned-mem summary: Aligned memory allocator 489s # Alignment must not be zero 489s # Alignment must be a power of two 489s # Alignment must be a multiple of sizeof(void*) 489s ok 28 /utils/aligned-mem 489s # /utils/free-sized summary: Check that g_free_sized() works 489s ok 29 /utils/free-sized 489s ok 30 /utils/nullify 489s ok 31 /utils/atexit 489s ok 32 /utils/check-setuid 489s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 489s ok 33 /utils/int-limits 489s ok 34 /utils/clear-list 489s ok 35 /utils/clear-slist 489s # Start of specialdir tests 489s ok 36 /utils/specialdir/desktop 489s # End of specialdir tests 489s # Start of clear-pointer tests 489s ok 37 /utils/clear-pointer/side-effects 489s # End of clear-pointer tests 489s # Start of aligned-mem tests 489s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 489s ok 38 /utils/aligned-mem/alignment 489s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 489s ok 39 /utils/aligned-mem/zeroed 489s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 489s ok 40 /utils/aligned-mem/free-sized 489s # Start of subprocess tests 489s # End of subprocess tests 489s # End of aligned-mem tests 489s # End of utils tests 489s ok - glib/utils-c-11.test 489s # Running test: glib/rand.test 489s TAP version 14 489s # random seed: R02S6c1580a7f74825b92794d69540419618 489s 1..2 489s # Start of rand tests 489s ok 1 /rand/test-rand 489s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 489s ok 2 /rand/double-range 489s # End of rand tests 489s ok - glib/rand.test 489s # Running test: glib/gobject-private.test 489s TAP version 14 489s # random seed: R02Sec80e27c01f4c5a9ee092267b539b382 489s 1..3 489s # Start of private tests 489s ok 1 /private/instance 489s ok 2 /private/derived-instance 489s ok 3 /private/mixed-derived-instance 489s # End of private tests 489s ok - glib/gobject-private.test 489s # Running test: glib/unicode-encoding.test 489s TAP version 14 489s # random seed: R02Sc66bf92187e14870bc10357e3a909c95 489s 1..1 489s # Start of unicode tests 489s ok 1 /unicode/encoding 489s # End of unicode tests 489s ok - glib/unicode-encoding.test 489s # Running test: glib/memory-monitor.test 489s TAP version 14 489s # random seed: R02S2d9db9cccf5c7ae26a1b16282d6eee9e 489s 1..1 489s # Start of memory-monitor tests 489s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 489s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 489s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 489s ok 1 /memory-monitor/default 489s # End of memory-monitor tests 489s ok - glib/memory-monitor.test 489s # Running test: glib/function-info.test 489s TAP version 14 489s # random seed: R02S6a856cd408449fb9d82ed474d5f7f66e 489s 1..1 489s # Start of function-info tests 489s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/home 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/cache 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/system-config2 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/config 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/system-data2 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/data 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/state 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_Y5ULX2/function-info/invoker/.dirs/runtime 489s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 489s # /function-info/invoker summary: Test preparing a function invoker 489s ok 1 /function-info/invoker 489s # End of function-info tests 489s ok - glib/function-info.test 489s # Running test: glib/gdbus-proxy-well-known-name.test 489s TAP version 14 489s # random seed: R02S47435ebfbdbc3574a5a2dc2fa2ced279 489s 1..1 489s # Start of gdbus tests 489s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/home 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/cache 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/system-config2 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/config 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/system-data2 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/data 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/state 489s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_6NXLX2/gdbus/proxy-well-known-name/.dirs/runtime 489s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 489s ok 1 /gdbus/proxy-well-known-name 489s # End of gdbus tests 489s ok - glib/gdbus-proxy-well-known-name.test 489s # Running test: glib/autoptr.test 489s TAP version 14 489s # random seed: R02S2dbf64969fe384dc6578b246bb1f52a4 489s 1..6 489s # Start of autoptr tests 489s ok 1 /autoptr/autoptr 489s ok 2 /autoptr/autoptr_steal 489s ok 3 /autoptr/autolist 489s ok 4 /autoptr/autoslist 489s ok 5 /autoptr/autoqueue 489s ok 6 /autoptr/autoclass 489s # End of autoptr tests 489s ok - glib/autoptr.test 489s # Running test: glib/network-address.test 489s TAP version 14 489s # random seed: R02Sf14c907ea11aef8633573b3b731afb5d 489s 1..72 489s # Start of network-address tests 489s ok 1 /network-address/basic 489s ok 2 /network-address/scope-id 489s ok 3 /network-address/uri-scope-id 489s ok 4 /network-address/to-string 489s # Start of parse-host tests 489s ok 5 /network-address/parse-host/0 489s ok 6 /network-address/parse-host/1 489s ok 7 /network-address/parse-host/2 489s ok 8 /network-address/parse-host/3 489s ok 9 /network-address/parse-host/4 489s ok 10 /network-address/parse-host/5 489s ok 11 /network-address/parse-host/6 489s ok 12 /network-address/parse-host/7 489s ok 13 /network-address/parse-host/8 489s ok 14 /network-address/parse-host/9 489s ok 15 /network-address/parse-host/10 489s ok 16 /network-address/parse-host/11 489s ok 17 /network-address/parse-host/12 489s ok 18 /network-address/parse-host/13 489s # End of parse-host tests 489s # Start of parse-uri tests 489s ok 19 /network-address/parse-uri/0 489s ok 20 /network-address/parse-uri/1 489s ok 21 /network-address/parse-uri/2 489s ok 22 /network-address/parse-uri/3 489s ok 23 /network-address/parse-uri/4 489s ok 24 /network-address/parse-uri/5 489s ok 25 /network-address/parse-uri/6 489s ok 26 /network-address/parse-uri/7 489s ok 27 /network-address/parse-uri/8 489s ok 28 /network-address/parse-uri/9 489s # End of parse-uri tests 489s # Start of resolve-address tests 489s # Input: 192.168.1.2 489s ok 29 /network-address/resolve-address/0 489s # Input: fe80::42 489s ok 30 /network-address/resolve-address/1 489s # Input: 192.168.1.2:80 489s ok 31 /network-address/resolve-address/2 489s # Input: [fe80::42] 489s ok 32 /network-address/resolve-address/3 489s # Input: [fe80::42]:80 489s ok 33 /network-address/resolve-address/4 489s # Input: 192.168.258 489s ok 34 /network-address/resolve-address/5 489s # Input: 192.11010306 489s ok 35 /network-address/resolve-address/6 489s # Input: 3232235778 489s ok 36 /network-address/resolve-address/7 489s # Input: 0300.0250.0001.0001 489s ok 37 /network-address/resolve-address/8 489s # Input: 0xC0.0xA8.0x01.0x02 489s ok 38 /network-address/resolve-address/9 489s # Input: 0xc0.0xa8.0x01.0x02 489s ok 39 /network-address/resolve-address/10 489s # Input: 0xc0a80102 489s ok 40 /network-address/resolve-address/11 489s # End of resolve-address tests 489s # Start of loopback tests 489s ok 41 /network-address/loopback/basic 489s ok 42 /network-address/loopback/sync 489s ok 43 /network-address/loopback/async 489s # End of loopback tests 489s # Start of localhost tests 489s ok 44 /network-address/localhost/async 489s ok 45 /network-address/localhost/sync 489s # End of localhost tests 489s # Start of happy-eyeballs tests 489s ok 46 /network-address/happy-eyeballs/basic 490s ok 47 /network-address/happy-eyeballs/parallel 490s ok 48 /network-address/happy-eyeballs/slow-ipv4 490s ok 49 /network-address/happy-eyeballs/slow-ipv6 490s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 491s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 491s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 491s # /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. 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s ok 57 /network-address/happy-eyeballs/both-error 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s ok 58 /network-address/happy-eyeballs/both-error-delays-1 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 491s ok 59 /network-address/happy-eyeballs/both-error-delays-2 491s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 491s ok 60 /network-address/happy-eyeballs/both-error-delays-3 491s # End of happy-eyeballs tests 491s # End of network-address tests 491s # Start of gresolver tests 491s # Start of resolve-address tests 491s # Input: 192.168.1.2 491s ok 61 /gresolver/resolve-address/0 491s # Input: fe80::42 491s ok 62 /gresolver/resolve-address/1 491s # Input: 192.168.1.2:80 491s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 491s ok 63 /gresolver/resolve-address/2 491s # Input: [fe80::42] 491s # Error: Error resolving ?[fe80::42]?: Name or service not known 491s ok 64 /gresolver/resolve-address/3 491s # Input: [fe80::42]:80 491s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 491s ok 65 /gresolver/resolve-address/4 491s # Input: 192.168.258 491s # Error: Error resolving ?192.168.258?: Name or service not known 491s ok 66 /gresolver/resolve-address/5 491s # Input: 192.11010306 491s # Error: Error resolving ?192.11010306?: Name or service not known 491s ok 67 /gresolver/resolve-address/6 491s # Input: 3232235778 491s # Error: Error resolving ?3232235778?: Name or service not known 491s ok 68 /gresolver/resolve-address/7 491s # Input: 0300.0250.0001.0001 491s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 491s ok 69 /gresolver/resolve-address/8 491s # Input: 0xC0.0xA8.0x01.0x02 491s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 491s ok 70 /gresolver/resolve-address/9 491s # Input: 0xc0.0xa8.0x01.0x02 491s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 491s ok 71 /gresolver/resolve-address/10 491s # Input: 0xc0a80102 491s # Error: Error resolving ?0xc0a80102?: Name or service not known 491s ok 72 /gresolver/resolve-address/11 491s # End of resolve-address tests 491s # End of gresolver tests 491s ok - glib/network-address.test 491s # Running test: glib/gdbus-exit-on-close.test 491s TAP version 14 491s # random seed: R02Sf32520ea0bdd25fe8729a33dfad9741b 491s 1..4 491s # Start of gdbus tests 491s # Start of exit-on-close tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/default/.dirs/runtime 491s ok 1 /gdbus/exit-on-close/default 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/true/.dirs/runtime 491s ok 2 /gdbus/exit-on-close/true 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/false/.dirs/runtime 491s ok 3 /gdbus/exit-on-close/false 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_48G2W2/gdbus/exit-on-close/we-close/.dirs/runtime 491s ok 4 /gdbus/exit-on-close/we-close 491s # Start of default tests 491s # End of default tests 491s # Start of true tests 491s # End of true tests 491s # Start of false tests 491s # End of false tests 491s # Start of we-close tests 491s # End of we-close tests 491s # End of exit-on-close tests 491s # End of gdbus tests 491s ok - glib/gdbus-exit-on-close.test 491s # Running test: glib/cxx-2b.test 491s TAP version 14 491s # random seed: R02S1d8c34e19d5045cf8c1bdd1b3a691e4c 491s 1..2 491s # Start of gtask tests 491s # 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. 491s ok 1 /gtask/name 491s # Start of name tests 491s # 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. 491s ok 2 /gtask/name/macro-wrapper 491s # End of name tests 491s # End of gtask tests 491s ok - glib/cxx-2b.test 491s # Running test: glib/cmph-bdz.test 491s TAP version 14 491s # random seed: R02S06c553c2fcf327714a108323a0bd76fc 491s 1..2 491s # Start of cmph-bdz tests 491s ok 1 /cmph-bdz/search 491s ok 2 /cmph-bdz/search-packed 491s # End of cmph-bdz tests 491s ok - glib/cmph-bdz.test 491s # Running test: glib/timeout.test 491s TAP version 14 491s # random seed: R02Sbbee017c96196e781aab7e494d32d892 491s 1..5 491s # Start of timeout tests 491s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 492s # Executing: glib/timeout.test 493s ok 1 /timeout/seconds 493s # slow test /timeout/seconds executed in 2.10 secs 495s ok 2 /timeout/seconds-once 495s # slow test /timeout/seconds-once executed in 2.10 secs 495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 497s # Executing: glib/timeout.test 498s ok 3 /timeout/weeks-overflow 498s # slow test /timeout/weeks-overflow executed in 2.10 secs 498s ok 4 /timeout/far-future-ready-time 502s # Executing: glib/timeout.test 507s # Executing: glib/timeout.test 508s ok 5 /timeout/rounding 508s # slow test /timeout/rounding executed in 10.48 secs 508s # End of timeout tests 508s ok - glib/timeout.test 508s # Running test: glib/giomodule.test 508s TAP version 14 508s # random seed: R02S8060d03f144acb90ecbfb6ebd8098c35 508s 1..3 508s # Start of giomodule tests 508s ok 1 /giomodule/extension-point 508s ok 2 /giomodule/module-scan-all 508s ok 3 /giomodule/module-scan-all-with-scope 508s # End of giomodule tests 508s ok - glib/giomodule.test 508s # Running test: glib/g-icon.test 508s TAP version 14 508s # random seed: R02Sbd8fd793d4a5aa4b6d42917512643443 508s 1..6 508s # Start of icons tests 508s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 508s ok 1 /icons/to-string 508s ok 2 /icons/serialize 508s ok 3 /icons/themed 508s ok 4 /icons/emblemed 508s ok 5 /icons/file 508s ok 6 /icons/bytes 508s # End of icons tests 508s ok - glib/g-icon.test 508s # Running test: glib/buffered-input-stream.test 508s TAP version 14 508s # random seed: R02S1017660640289ad79260f048fc1e3f14 508s 1..10 508s # Start of buffered-input-stream tests 508s ok 1 /buffered-input-stream/peek 508s ok 2 /buffered-input-stream/peek-buffer 508s ok 3 /buffered-input-stream/set-buffer-size 508s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 508s ok 4 /buffered-input-stream/read-byte 508s ok 5 /buffered-input-stream/read 508s ok 6 /buffered-input-stream/read-async 508s ok 7 /buffered-input-stream/skip 508s ok 8 /buffered-input-stream/skip-async 508s ok 9 /buffered-input-stream/seek 508s # End of buffered-input-stream tests 508s # Start of filter-input-stream tests 508s ok 10 /filter-input-stream/close 508s # End of filter-input-stream tests 508s ok - glib/buffered-input-stream.test 508s # Running test: glib/mkenums.py.test 508s TAP version 13 508s ok 1 __main__.TestMkenums.test_available_in 508s # tmpdir: /tmp/tmp6q8pg09w 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmp6q8pg09w/tmp0ezwt4ie.h: 508s # typedef enum { 508s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 508s # } GDBusServerFlags; 508s # 508s # /tmp/tmp6q8pg09w/tmpn41084ay.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6q8pg09w/tmpn41084ay.template', '/tmp/tmp6q8pg09w/tmp0ezwt4ie.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmp6q8pg09w/tmp0ezwt4ie.h 508s # basename: tmp0ezwt4ie.h 508s # enumeration-production 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-header 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-production 508s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 508s # valuenick: user 508s # valuenum: 4 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-tail 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 2 __main__.TestMkenums.test_comma_in_enum_value 508s # tmpdir: /tmp/tmpz_8egv86 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmpz_8egv86/tmpl57z9tkb.h: 508s # typedef enum { 508s # ENUM_VALUE_WITH_COMMA = ',', 508s # } TestCommaEnum; 508s # 508s # /tmp/tmpz_8egv86/tmpj8kecgp5.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz_8egv86/tmpj8kecgp5.template', '/tmp/tmpz_8egv86/tmpl57z9tkb.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmpz_8egv86/tmpl57z9tkb.h 508s # basename: tmpl57z9tkb.h 508s # enumeration-production 508s # EnumName: TestCommaEnum 508s # enum_name: test_comma_enum 508s # ENUMNAME: TEST_COMMA_ENUM 508s # ENUMSHORT: COMMA_ENUM 508s # ENUMPREFIX: TEST 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-header 508s # EnumName: TestCommaEnum 508s # enum_name: test_comma_enum 508s # ENUMNAME: TEST_COMMA_ENUM 508s # ENUMSHORT: COMMA_ENUM 508s # ENUMPREFIX: TEST 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-production 508s # VALUENAME: ENUM_VALUE_WITH_COMMA 508s # valuenick: comma 508s # valuenum: 44 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-tail 508s # EnumName: TestCommaEnum 508s # enum_name: test_comma_enum 508s # ENUMNAME: TEST_COMMA_ENUM 508s # ENUMSHORT: COMMA_ENUM 508s # ENUMPREFIX: TEST 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 3 __main__.TestMkenums.test_deprecated_in 508s # tmpdir: /tmp/tmpzagbt8pn 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmpzagbt8pn/tmpfztuky_y.h: 508s # typedef enum { 508s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 508s # } GDBusServerFlags; 508s # 508s # /tmp/tmpzagbt8pn/tmpfhub436m.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzagbt8pn/tmpfhub436m.template', '/tmp/tmpzagbt8pn/tmpfztuky_y.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmpzagbt8pn/tmpfztuky_y.h 508s # basename: tmpfztuky_y.h 508s # enumeration-production 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-header 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-production 508s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 508s # valuenick: user 508s # valuenum: 4 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-tail 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 4 __main__.TestMkenums.test_deprecated_in_for 508s # tmpdir: /tmp/tmp4qul0n_2 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmp4qul0n_2/tmp6vjuega9.h: 508s # typedef enum { 508s # 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) 508s # } GDBusServerFlags; 508s # 508s # /tmp/tmp4qul0n_2/tmphvcqznlq.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4qul0n_2/tmphvcqznlq.template', '/tmp/tmp4qul0n_2/tmp6vjuega9.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmp4qul0n_2/tmp6vjuega9.h 508s # basename: tmp6vjuega9.h 508s # enumeration-production 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-header 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-production 508s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 508s # valuenick: user 508s # valuenum: 4 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # value-tail 508s # EnumName: GDBusServerFlags 508s # enum_name: g_dbus_server_flags 508s # ENUMNAME: G_DBUS_SERVER_FLAGS 508s # ENUMSHORT: DBUS_SERVER_FLAGS 508s # ENUMPREFIX: G 508s # enumsince: 508s # type: flags 508s # Type: Flags 508s # TYPE: FLAGS 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 5 __main__.TestMkenums.test_empty_header 508s # tmpdir: /tmp/tmp697n7esn 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmp697n7esn/tmpq1a7drbt.h: 508s # /tmp/tmp697n7esn/tmpq4ti4181.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp697n7esn/tmpq4ti4181.template', '/tmp/tmp697n7esn/tmpq1a7drbt.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 6 __main__.TestMkenums.test_empty_template 508s # tmpdir: /tmp/tmpjl01ss8e 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmpjl01ss8e/tmpo5zcc3ar.template: 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjl01ss8e/tmpo5zcc3ar.template'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # 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. */ 508s # 508s # 508s # /* Generated data ends here */ 508s ok 7 __main__.TestMkenums.test_enum_name 508s # tmpdir: /tmp/tmpbutnobsb 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmpbutnobsb/tmpnxoies1y.h: 508s # typedef enum _SomeEnumIdentifier { 508s # ENUM_VALUE 508s # } SomeEnumIdentifier; 508s # 508s # /tmp/tmpbutnobsb/tmpqlkst3ja.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbutnobsb/tmpqlkst3ja.template', '/tmp/tmpbutnobsb/tmpnxoies1y.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmpbutnobsb/tmpnxoies1y.h 508s # basename: tmpnxoies1y.h 508s # enumeration-production 508s # EnumName: SomeEnumIdentifier 508s # enum_name: some_enum_identifier 508s # ENUMNAME: SOME_ENUM_IDENTIFIER 508s # ENUMSHORT: ENUM_IDENTIFIER 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-header 508s # EnumName: SomeEnumIdentifier 508s # enum_name: some_enum_identifier 508s # ENUMNAME: SOME_ENUM_IDENTIFIER 508s # ENUMSHORT: ENUM_IDENTIFIER 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-production 508s # VALUENAME: ENUM_VALUE 508s # valuenick: value 508s # valuenum: 0 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-tail 508s # EnumName: SomeEnumIdentifier 508s # enum_name: some_enum_identifier 508s # ENUMNAME: SOME_ENUM_IDENTIFIER 508s # ENUMSHORT: ENUM_IDENTIFIER 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s ok 8 __main__.TestMkenums.test_enum_private_public 508s # tmpdir: /tmp/tmpqhoa2e09 508s # rspfile: False, mkenums: /usr/bin/glib-mkenums 508s # /tmp/tmpqhoa2e09/tmpfqlisym4.h: 508s # typedef enum { 508s # ENUM_VALUE_PUBLIC1, 508s # /*< private >*/ 508s # ENUM_VALUE_PRIVATE, 508s # } SomeEnumA 508s # 508s # /tmp/tmpqhoa2e09/tmpg22s4b4b.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqhoa2e09/tmpg22s4b4b.template', '/tmp/tmpqhoa2e09/tmpfqlisym4.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmpqhoa2e09/tmpfqlisym4.h 508s # basename: tmpfqlisym4.h 508s # enumeration-production 508s # EnumName: SomeEnumA 508s # enum_name: some_enum_a 508s # ENUMNAME: SOME_ENUM_A 508s # ENUMSHORT: ENUM_A 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-header 508s # EnumName: SomeEnumA 508s # enum_name: some_enum_a 508s # ENUMNAME: SOME_ENUM_A 508s # ENUMSHORT: ENUM_A 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-production 508s # VALUENAME: ENUM_VALUE_PUBLIC1 508s # valuenick: public1 508s # valuenum: 0 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-tail 508s # EnumName: SomeEnumA 508s # enum_name: some_enum_a 508s # ENUMNAME: SOME_ENUM_A 508s # ENUMSHORT: ENUM_A 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 508s # /tmp/tmpqhoa2e09/tmp24huez3r.h: 508s # typedef enum { 508s # /*< private >*/ 508s # ENUM_VALUE_PRIVATE, 508s # /*< public >*/ 508s # ENUM_VALUE_PUBLIC2, 508s # } SomeEnumB; 508s # 508s # /tmp/tmpqhoa2e09/tmph7dgm7du.template: 508s # /*** BEGIN file-header ***/ 508s # file-header 508s # /*** END file-header ***/ 508s # 508s # /*** BEGIN file-production ***/ 508s # file-production 508s # filename: @filename@ 508s # basename: @basename@ 508s # /*** END file-production ***/ 508s # 508s # /*** BEGIN enumeration-production ***/ 508s # enumeration-production 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END enumeration-production ***/ 508s # 508s # /*** BEGIN value-header ***/ 508s # value-header 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-header ***/ 508s # 508s # /*** BEGIN value-production ***/ 508s # value-production 508s # VALUENAME: @VALUENAME@ 508s # valuenick: @valuenick@ 508s # valuenum: @valuenum@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-production ***/ 508s # 508s # /*** BEGIN value-tail ***/ 508s # value-tail 508s # EnumName: @EnumName@ 508s # enum_name: @enum_name@ 508s # ENUMNAME: @ENUMNAME@ 508s # ENUMSHORT: @ENUMSHORT@ 508s # ENUMPREFIX: @ENUMPREFIX@ 508s # enumsince: @enumsince@ 508s # type: @type@ 508s # Type: @Type@ 508s # TYPE: @TYPE@ 508s # /*** END value-tail ***/ 508s # 508s # /*** BEGIN comment ***/ 508s # comment 508s # comment: @comment@ 508s # /*** END comment ***/ 508s # 508s # /*** BEGIN file-tail ***/ 508s # file-tail 508s # /*** END file-tail ***/ 508s # 508s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqhoa2e09/tmph7dgm7du.template', '/tmp/tmpqhoa2e09/tmp24huez3r.h'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: comment 508s # 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. 508s # 508s # 508s # file-header 508s # file-production 508s # filename: /tmp/tmpqhoa2e09/tmp24huez3r.h 508s # basename: tmp24huez3r.h 508s # enumeration-production 508s # EnumName: SomeEnumB 508s # enum_name: some_enum_b 508s # ENUMNAME: SOME_ENUM_B 508s # ENUMSHORT: ENUM_B 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-header 508s # EnumName: SomeEnumB 508s # enum_name: some_enum_b 508s # ENUMNAME: SOME_ENUM_B 508s # ENUMSHORT: ENUM_B 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-production 508s # VALUENAME: ENUM_VALUE_PUBLIC2 508s # valuenick: public2 508s # valuenum: 1 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # value-tail 508s # EnumName: SomeEnumB 508s # enum_name: some_enum_b 508s # ENUMNAME: SOME_ENUM_B 508s # ENUMSHORT: ENUM_B 508s # ENUMPREFIX: SOME 508s # enumsince: 508s # type: enum 508s # Type: Enum 508s # TYPE: ENUM 508s # file-tail 508s # 508s # comment 508s # comment: Generated data ends here 509s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 509s # tmpdir: /tmp/tmpy72xhbnw 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpy72xhbnw/tmpjlmji1g4.h: 509s # typedef enum { 509s # /*< private >*/ 509s # ENUM_VALUE_PRIVATE = 5, 509s # /*< public >*/ 509s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 509s # } TestSymbolicEnum; 509s # 509s # /tmp/tmpy72xhbnw/tmph7ilc4gj.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy72xhbnw/tmph7ilc4gj.template', '/tmp/tmpy72xhbnw/tmpjlmji1g4.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpy72xhbnw/tmpjlmji1g4.h 509s # basename: tmpjlmji1g4.h 509s # enumeration-production 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE_PUBLIC 509s # valuenick: public 509s # valuenum: 7 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 509s # tmpdir: /tmp/tmpomscymgu 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpomscymgu/tmpau1121xw.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-tail ***/ 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpomscymgu/tmpau1121xw.template'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # filename: @filename@ 509s # basename: @basename@ 509s # file-tail 509s # filename: @filename@ 509s # basename: @basename@ 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 11 __main__.TestMkenums.test_help 509s # tmpdir: /tmp/tmp2bxszzt1 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # Running: ['/usr/bin/glib-mkenums', '--help'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 509s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 509s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 509s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 509s # [--comments COMMENT_TMPL] [--template TEMPLATE] 509s # [--output OUTPUT] [--version] 509s # [args ...] 509s # 509s # positional arguments: 509s # args One or more input files, or a single argument 509s # @rspfile_path pointing to a file that contains the 509s # actual arguments 509s # 509s # options: 509s # -h, --help show this help message and exit 509s # --identifier-prefix IDPREFIX 509s # Identifier prefix 509s # --symbol-prefix SYMPREFIX 509s # Symbol prefix 509s # --fhead FHEAD Output file header 509s # --ftail FTAIL Output file footer 509s # --fprod FPROD Put out TEXT every time a new input file is being 509s # processed. 509s # --eprod EPROD Per enum text, produced prior to value iterations 509s # --vhead VHEAD Value header, produced before iterating over enum 509s # values 509s # --vprod VPROD Value text, produced for each enum value. 509s # --vtail VTAIL Value tail, produced after iterating over enum values 509s # --comments COMMENT_TMPL 509s # Comment structure 509s # --template TEMPLATE Template file 509s # --output OUTPUT 509s # --version, -v Print version information 509s # 509s # Production text substitutions: 509s # @EnumName@ PrefixTheXEnum 509s # @enum_name@ prefix_the_xenum 509s # @ENUMNAME@ PREFIX_THE_XENUM 509s # @ENUMSHORT@ THE_XENUM 509s # @ENUMPREFIX@ PREFIX 509s # @enumsince@ the user-provided since value given 509s # @VALUENAME@ PREFIX_THE_XVALUE 509s # @valuenick@ the-xvalue 509s # @valuenum@ the integer value (limited support, Since: 2.26) 509s # @type@ either enum or flags 509s # @Type@ either Enum or Flags 509s # @TYPE@ either ENUM or FLAGS 509s # @filename@ name of current input file 509s # @basename@ base name of the current input file (Since: 2.22) 509s ok 12 __main__.TestMkenums.test_no_args 509s # tmpdir: /tmp/tmprwy28sr1 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # Running: ['/usr/bin/glib-mkenums'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # 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. */ 509s # 509s # 509s # /* Generated data ends here */ 509s ok 13 __main__.TestMkenums.test_no_headers 509s # tmpdir: /tmp/tmp5238chpb 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp5238chpb/tmpdqcqsxld.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5238chpb/tmpdqcqsxld.template'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 14 __main__.TestMkenums.test_no_nick 509s # tmpdir: /tmp/tmp3trfgsf0 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp3trfgsf0/tmpkboe3fs6.h: 509s # typedef enum { 509s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 509s # } GeglSamplerType; 509s # 509s # /tmp/tmp3trfgsf0/tmpfycivow0.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3trfgsf0/tmpfycivow0.template', '/tmp/tmp3trfgsf0/tmpkboe3fs6.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmp3trfgsf0/tmpkboe3fs6.h 509s # basename: tmpkboe3fs6.h 509s # enumeration-production 509s # EnumName: GeglSamplerType 509s # enum_name: gegl_sampler_type 509s # ENUMNAME: GEGL_SAMPLER_TYPE 509s # ENUMSHORT: SAMPLER_TYPE 509s # ENUMPREFIX: GEGL 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: GeglSamplerType 509s # enum_name: gegl_sampler_type 509s # ENUMNAME: GEGL_SAMPLER_TYPE 509s # ENUMSHORT: SAMPLER_TYPE 509s # ENUMPREFIX: GEGL 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: GEGL_SAMPLER_NEAREST 509s # valuenick: nearest 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: GeglSamplerType 509s # enum_name: gegl_sampler_type 509s # ENUMNAME: GEGL_SAMPLER_TYPE 509s # ENUMSHORT: SAMPLER_TYPE 509s # ENUMPREFIX: GEGL 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 15 __main__.TestMkenums.test_non_utf8_encoding 509s # tmpdir: /tmp/tmp6jsy75wb 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp6jsy75wb/tmpiz71tbvl.h: 509s # /* Copyright © La Peña */ 509s # typedef enum { 509s # ENUM_VALUE 509s # } SomeEnumIdentifier; 509s # 509s # /tmp/tmp6jsy75wb/tmpyus2zy1w.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6jsy75wb/tmpyus2zy1w.template', '/tmp/tmp6jsy75wb/tmpiz71tbvl.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmp6jsy75wb/tmpiz71tbvl.h 509s # basename: tmpiz71tbvl.h 509s # enumeration-production 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE 509s # valuenick: value 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 16 __main__.TestMkenums.test_reproducible 509s # tmpdir: /tmp/tmp0omkjdg1 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp0omkjdg1/tmpqoy9cyr7.template: template 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0omkjdg1/tmpqoy9cyr7.template', '/tmp/tmp0omkjdg1/tmp0xdi6kl11.h', '/tmp/tmp0omkjdg1/tmphmess2282.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # 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. */ 509s # 509s # 509s # /* Generated data ends here */ 509s # /tmp/tmp0omkjdg1/tmp_ks92ie5.template: template 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0omkjdg1/tmp_ks92ie5.template', '/tmp/tmp0omkjdg1/tmphmess2282.h', '/tmp/tmp0omkjdg1/tmp0xdi6kl11.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # 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. */ 509s # 509s # 509s # /* Generated data ends here */ 509s ok 17 __main__.TestMkenums.test_since 509s # tmpdir: /tmp/tmp3e8zd6x1 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp3e8zd6x1/tmp09s5u6q7.h: 509s # typedef enum { /*< since=1.0 >*/ 509s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 509s # } QmiWmsMessageProtocol; 509s # 509s # /tmp/tmp3e8zd6x1/tmpilbie9xr.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3e8zd6x1/tmpilbie9xr.template', '/tmp/tmp3e8zd6x1/tmp09s5u6q7.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmp3e8zd6x1/tmp09s5u6q7.h 509s # basename: tmp09s5u6q7.h 509s # enumeration-production 509s # EnumName: QmiWmsMessageProtocol 509s # enum_name: qmi_wms_message_protocol 509s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 509s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 509s # ENUMPREFIX: QMI 509s # enumsince: 1.0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: QmiWmsMessageProtocol 509s # enum_name: qmi_wms_message_protocol 509s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 509s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 509s # ENUMPREFIX: QMI 509s # enumsince: 1.0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 509s # valuenick: cdma 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: QmiWmsMessageProtocol 509s # enum_name: qmi_wms_message_protocol 509s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 509s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 509s # ENUMPREFIX: QMI 509s # enumsince: 1.0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 18 __main__.TestMkenums.test_with_double_quotes 509s # tmpdir: /tmp/tmpqyo24yxa 509s # rspfile: False, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpqyo24yxa/tmp2uv0dto0.h: 509s # typedef enum { 509s # FOO_VALUE /*< nick="eek, a comma" >*/ 509s # } Foo; 509s # 509s # /tmp/tmpqyo24yxa/tmph13z384i.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqyo24yxa/tmph13z384i.template', '/tmp/tmpqyo24yxa/tmp2uv0dto0.h'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpqyo24yxa/tmp2uv0dto0.h 509s # basename: tmp2uv0dto0.h 509s # enumeration-production 509s # EnumName: Foo 509s # enum_name: foo_ 509s # ENUMNAME: FOO_ 509s # ENUMSHORT: 509s # ENUMPREFIX: FOO 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: Foo 509s # enum_name: foo_ 509s # ENUMNAME: FOO_ 509s # ENUMSHORT: 509s # ENUMPREFIX: FOO 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: FOO_VALUE 509s # valuenick: eek, a comma 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: Foo 509s # enum_name: foo_ 509s # ENUMNAME: FOO_ 509s # ENUMSHORT: 509s # ENUMPREFIX: FOO 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 19 __main__.TestRspMkenums.test_available_in 509s # tmpdir: /tmp/tmpvbxcyc3n 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpvbxcyc3n/tmph14xrnks.h: 509s # typedef enum { 509s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 509s # } GDBusServerFlags; 509s # 509s # /tmp/tmpvbxcyc3n/tmppw_w2x4b.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpvbxcyc3n/tmppw_w2x4b.template /tmp/tmpvbxcyc3n/tmph14xrnks.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvbxcyc3n/tmpp_e27imd'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpvbxcyc3n/tmph14xrnks.h 509s # basename: tmph14xrnks.h 509s # enumeration-production 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-header 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-production 509s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 509s # valuenick: user 509s # valuenum: 4 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-tail 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 509s # tmpdir: /tmp/tmpcmk6ixu0 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpcmk6ixu0/tmpukh_sd6n.h: 509s # typedef enum { 509s # ENUM_VALUE_WITH_COMMA = ',', 509s # } TestCommaEnum; 509s # 509s # /tmp/tmpcmk6ixu0/tmp8rvzwydy.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpcmk6ixu0/tmp8rvzwydy.template /tmp/tmpcmk6ixu0/tmpukh_sd6n.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcmk6ixu0/tmpgz1uzlw0'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpcmk6ixu0/tmpukh_sd6n.h 509s # basename: tmpukh_sd6n.h 509s # enumeration-production 509s # EnumName: TestCommaEnum 509s # enum_name: test_comma_enum 509s # ENUMNAME: TEST_COMMA_ENUM 509s # ENUMSHORT: COMMA_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: TestCommaEnum 509s # enum_name: test_comma_enum 509s # ENUMNAME: TEST_COMMA_ENUM 509s # ENUMSHORT: COMMA_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE_WITH_COMMA 509s # valuenick: comma 509s # valuenum: 44 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: TestCommaEnum 509s # enum_name: test_comma_enum 509s # ENUMNAME: TEST_COMMA_ENUM 509s # ENUMSHORT: COMMA_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 21 __main__.TestRspMkenums.test_deprecated_in 509s # tmpdir: /tmp/tmprni9w2gb 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmprni9w2gb/tmp7gaz8ei5.h: 509s # typedef enum { 509s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 509s # } GDBusServerFlags; 509s # 509s # /tmp/tmprni9w2gb/tmpq3k1y4kl.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmprni9w2gb/tmpq3k1y4kl.template /tmp/tmprni9w2gb/tmp7gaz8ei5.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprni9w2gb/tmpezsaodzx'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmprni9w2gb/tmp7gaz8ei5.h 509s # basename: tmp7gaz8ei5.h 509s # enumeration-production 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-header 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-production 509s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 509s # valuenick: user 509s # valuenum: 4 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-tail 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 509s # tmpdir: /tmp/tmpz_sp5cgw 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpz_sp5cgw/tmpbs71zxpc.h: 509s # typedef enum { 509s # 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) 509s # } GDBusServerFlags; 509s # 509s # /tmp/tmpz_sp5cgw/tmpzy3zxi95.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpz_sp5cgw/tmpzy3zxi95.template /tmp/tmpz_sp5cgw/tmpbs71zxpc.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz_sp5cgw/tmputhfj5lu'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpz_sp5cgw/tmpbs71zxpc.h 509s # basename: tmpbs71zxpc.h 509s # enumeration-production 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-header 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-production 509s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 509s # valuenick: user 509s # valuenum: 4 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # value-tail 509s # EnumName: GDBusServerFlags 509s # enum_name: g_dbus_server_flags 509s # ENUMNAME: G_DBUS_SERVER_FLAGS 509s # ENUMSHORT: DBUS_SERVER_FLAGS 509s # ENUMPREFIX: G 509s # enumsince: 509s # type: flags 509s # Type: Flags 509s # TYPE: FLAGS 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 23 __main__.TestRspMkenums.test_empty_header 509s # tmpdir: /tmp/tmp65f54s48 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmp65f54s48/tmp5zzdxkg8.h: 509s # /tmp/tmp65f54s48/tmpjdnnl58r.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmp65f54s48/tmpjdnnl58r.template /tmp/tmp65f54s48/tmp5zzdxkg8.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp65f54s48/tmptzqrr2nm'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 24 __main__.TestRspMkenums.test_empty_template 509s # tmpdir: /tmp/tmpwpkyhj8r 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpwpkyhj8r/tmphwplp2lo.template: 509s # Response file contains: --template /tmp/tmpwpkyhj8r/tmphwplp2lo.template 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwpkyhj8r/tmpq55l1nch'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # 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. */ 509s # 509s # 509s # /* Generated data ends here */ 509s ok 25 __main__.TestRspMkenums.test_enum_name 509s # tmpdir: /tmp/tmpw_2m6b58 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpw_2m6b58/tmpko00k2qt.h: 509s # typedef enum _SomeEnumIdentifier { 509s # ENUM_VALUE 509s # } SomeEnumIdentifier; 509s # 509s # /tmp/tmpw_2m6b58/tmpebdpzvw4.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpw_2m6b58/tmpebdpzvw4.template /tmp/tmpw_2m6b58/tmpko00k2qt.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw_2m6b58/tmplywvtgvo'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpw_2m6b58/tmpko00k2qt.h 509s # basename: tmpko00k2qt.h 509s # enumeration-production 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE 509s # valuenick: value 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: SomeEnumIdentifier 509s # enum_name: some_enum_identifier 509s # ENUMNAME: SOME_ENUM_IDENTIFIER 509s # ENUMSHORT: ENUM_IDENTIFIER 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 26 __main__.TestRspMkenums.test_enum_private_public 509s # tmpdir: /tmp/tmpu5bwwoui 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpu5bwwoui/tmp7prxgft8.h: 509s # typedef enum { 509s # ENUM_VALUE_PUBLIC1, 509s # /*< private >*/ 509s # ENUM_VALUE_PRIVATE, 509s # } SomeEnumA 509s # 509s # /tmp/tmpu5bwwoui/tmpi9mqwx34.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpu5bwwoui/tmpi9mqwx34.template /tmp/tmpu5bwwoui/tmp7prxgft8.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu5bwwoui/tmpgds7_mg2'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpu5bwwoui/tmp7prxgft8.h 509s # basename: tmp7prxgft8.h 509s # enumeration-production 509s # EnumName: SomeEnumA 509s # enum_name: some_enum_a 509s # ENUMNAME: SOME_ENUM_A 509s # ENUMSHORT: ENUM_A 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: SomeEnumA 509s # enum_name: some_enum_a 509s # ENUMNAME: SOME_ENUM_A 509s # ENUMSHORT: ENUM_A 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE_PUBLIC1 509s # valuenick: public1 509s # valuenum: 0 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: SomeEnumA 509s # enum_name: some_enum_a 509s # ENUMNAME: SOME_ENUM_A 509s # ENUMSHORT: ENUM_A 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s # /tmp/tmpu5bwwoui/tmp2qyvsict.h: 509s # typedef enum { 509s # /*< private >*/ 509s # ENUM_VALUE_PRIVATE, 509s # /*< public >*/ 509s # ENUM_VALUE_PUBLIC2, 509s # } SomeEnumB; 509s # 509s # /tmp/tmpu5bwwoui/tmpo_ajqooy.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpu5bwwoui/tmpo_ajqooy.template /tmp/tmpu5bwwoui/tmp2qyvsict.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu5bwwoui/tmpie9h11z4'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpu5bwwoui/tmp2qyvsict.h 509s # basename: tmp2qyvsict.h 509s # enumeration-production 509s # EnumName: SomeEnumB 509s # enum_name: some_enum_b 509s # ENUMNAME: SOME_ENUM_B 509s # ENUMSHORT: ENUM_B 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: SomeEnumB 509s # enum_name: some_enum_b 509s # ENUMNAME: SOME_ENUM_B 509s # ENUMSHORT: ENUM_B 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE_PUBLIC2 509s # valuenick: public2 509s # valuenum: 1 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: SomeEnumB 509s # enum_name: some_enum_b 509s # ENUMNAME: SOME_ENUM_B 509s # ENUMSHORT: ENUM_B 509s # ENUMPREFIX: SOME 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 509s # tmpdir: /tmp/tmpbfnfq8jl 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpbfnfq8jl/tmp6_fn_7wt.h: 509s # typedef enum { 509s # /*< private >*/ 509s # ENUM_VALUE_PRIVATE = 5, 509s # /*< public >*/ 509s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 509s # } TestSymbolicEnum; 509s # 509s # /tmp/tmpbfnfq8jl/tmpsp_p4e1i.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN file-production ***/ 509s # file-production 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-production ***/ 509s # 509s # /*** BEGIN enumeration-production ***/ 509s # enumeration-production 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END enumeration-production ***/ 509s # 509s # /*** BEGIN value-header ***/ 509s # value-header 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-header ***/ 509s # 509s # /*** BEGIN value-production ***/ 509s # value-production 509s # VALUENAME: @VALUENAME@ 509s # valuenick: @valuenick@ 509s # valuenum: @valuenum@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-production ***/ 509s # 509s # /*** BEGIN value-tail ***/ 509s # value-tail 509s # EnumName: @EnumName@ 509s # enum_name: @enum_name@ 509s # ENUMNAME: @ENUMNAME@ 509s # ENUMSHORT: @ENUMSHORT@ 509s # ENUMPREFIX: @ENUMPREFIX@ 509s # enumsince: @enumsince@ 509s # type: @type@ 509s # Type: @Type@ 509s # TYPE: @TYPE@ 509s # /*** END value-tail ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # /*** END file-tail ***/ 509s # 509s # Response file contains: --template /tmp/tmpbfnfq8jl/tmpsp_p4e1i.template /tmp/tmpbfnfq8jl/tmp6_fn_7wt.h 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbfnfq8jl/tmpb74gcemz'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # file-production 509s # filename: /tmp/tmpbfnfq8jl/tmp6_fn_7wt.h 509s # basename: tmp6_fn_7wt.h 509s # enumeration-production 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-header 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-production 509s # VALUENAME: ENUM_VALUE_PUBLIC 509s # valuenick: public 509s # valuenum: 7 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # value-tail 509s # EnumName: TestSymbolicEnum 509s # enum_name: test_symbolic_enum 509s # ENUMNAME: TEST_SYMBOLIC_ENUM 509s # ENUMSHORT: SYMBOLIC_ENUM 509s # ENUMPREFIX: TEST 509s # enumsince: 509s # type: enum 509s # Type: Enum 509s # TYPE: ENUM 509s # file-tail 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 509s # tmpdir: /tmp/tmpd3x3nkdo 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # /tmp/tmpd3x3nkdo/tmp5m4d1egx.template: 509s # /*** BEGIN file-header ***/ 509s # file-header 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-header ***/ 509s # 509s # /*** BEGIN comment ***/ 509s # comment 509s # comment: @comment@ 509s # /*** END comment ***/ 509s # 509s # /*** BEGIN file-tail ***/ 509s # file-tail 509s # filename: @filename@ 509s # basename: @basename@ 509s # /*** END file-tail ***/ 509s # Response file contains: --template /tmp/tmpd3x3nkdo/tmp5m4d1egx.template 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd3x3nkdo/tmp6turedlc'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: comment 509s # 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. 509s # 509s # 509s # file-header 509s # filename: @filename@ 509s # basename: @basename@ 509s # file-tail 509s # filename: @filename@ 509s # basename: @basename@ 509s # 509s # comment 509s # comment: Generated data ends here 509s ok 29 __main__.TestRspMkenums.test_help 509s # tmpdir: /tmp/tmpud62ys4j 509s # rspfile: True, mkenums: /usr/bin/glib-mkenums 509s # Response file contains: --help 509s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpud62ys4j/tmp3fbrjbl6'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 509s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 509s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 509s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 509s # [--comments COMMENT_TMPL] [--template TEMPLATE] 509s # [--output OUTPUT] [--version] 509s # [args ...] 509s # 509s # positional arguments: 509s # args One or more input files, or a single argument 509s # @rspfile_path pointing to a file that contains the 509s # actual arguments 509s # 509s # options: 509s # -h, --help show this help message and exit 509s # --identifier-prefix IDPREFIX 509s # Identifier prefix 509s # --symbol-prefix SYMPREFIX 509s # Symbol prefix 509s # --fhead FHEAD Output file header 509s # --ftail FTAIL Output file footer 509s # --fprod FPROD Put out TEXT every time a new input file is being 509s # processed. 509s # --eprod EPROD Per enum text, produced prior to value iterations 509s # --vhead VHEAD Value header, produced before iterating over enum 509s # values 509s # --vprod VPROD Value text, produced for each enum value. 509s # --vtail VTAIL Value tail, produced after iterating over enum values 509s # --comments COMMENT_TMPL 509s # Comment structure 509s # --template TEMPLATE Template file 509s # --output OUTPUT 509s # --version, -v Print version information 509s # 509s # Production text substitutions: 509s # @EnumName@ PrefixTheXEnum 509s # @enum_name@ prefix_the_xenum 509s # @ENUMNAME@ PREFIX_THE_XENUM 509s # @ENUMSHORT@ THE_XENUM 509s # @ENUMPREFIX@ PREFIX 509s # @enumsince@ the user-provided since value given 509s # @VALUENAME@ PREFIX_THE_XVALUE 509s # @valuenick@ the-xvalue 509s # @valuenum@ the integer value (limited support, Since: 2.26) 509s # @type@ either enum or flags 509s # @Type@ either Enum or Flags 509s # @TYPE@ either ENUM or FLAGS 509s # @filename@ name of current input file 509s # @basename@ base name of the current input file (Since: 2.22) 510s ok 30 __main__.TestRspMkenums.test_no_args 510s # tmpdir: /tmp/tmpr5qkvim6 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # Response file contains: 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr5qkvim6/tmpzdry5kh4'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # 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. */ 510s # 510s # 510s # /* Generated data ends here */ 510s ok 31 __main__.TestRspMkenums.test_no_headers 510s # tmpdir: /tmp/tmpvvgfnv0y 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmpvvgfnv0y/tmpxuy5_imt.template: 510s # /*** BEGIN file-header ***/ 510s # file-header 510s # /*** END file-header ***/ 510s # 510s # /*** BEGIN file-production ***/ 510s # file-production 510s # filename: @filename@ 510s # basename: @basename@ 510s # /*** END file-production ***/ 510s # 510s # /*** BEGIN enumeration-production ***/ 510s # enumeration-production 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END enumeration-production ***/ 510s # 510s # /*** BEGIN value-header ***/ 510s # value-header 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-header ***/ 510s # 510s # /*** BEGIN value-production ***/ 510s # value-production 510s # VALUENAME: @VALUENAME@ 510s # valuenick: @valuenick@ 510s # valuenum: @valuenum@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-production ***/ 510s # 510s # /*** BEGIN value-tail ***/ 510s # value-tail 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-tail ***/ 510s # 510s # /*** BEGIN comment ***/ 510s # comment 510s # comment: @comment@ 510s # /*** END comment ***/ 510s # 510s # /*** BEGIN file-tail ***/ 510s # file-tail 510s # /*** END file-tail ***/ 510s # 510s # Response file contains: --template /tmp/tmpvvgfnv0y/tmpxuy5_imt.template 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvvgfnv0y/tmpwc65qxli'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # Output: comment 510s # 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. 510s # 510s # 510s # file-header 510s # file-tail 510s # 510s # comment 510s # comment: Generated data ends here 510s ok 32 __main__.TestRspMkenums.test_no_nick 510s # tmpdir: /tmp/tmp6mhobhng 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmp6mhobhng/tmp7o33pmwq.h: 510s # typedef enum { 510s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 510s # } GeglSamplerType; 510s # 510s # /tmp/tmp6mhobhng/tmpe5rxhj4h.template: 510s # /*** BEGIN file-header ***/ 510s # file-header 510s # /*** END file-header ***/ 510s # 510s # /*** BEGIN file-production ***/ 510s # file-production 510s # filename: @filename@ 510s # basename: @basename@ 510s # /*** END file-production ***/ 510s # 510s # /*** BEGIN enumeration-production ***/ 510s # enumeration-production 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END enumeration-production ***/ 510s # 510s # /*** BEGIN value-header ***/ 510s # value-header 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-header ***/ 510s # 510s # /*** BEGIN value-production ***/ 510s # value-production 510s # VALUENAME: @VALUENAME@ 510s # valuenick: @valuenick@ 510s # valuenum: @valuenum@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-production ***/ 510s # 510s # /*** BEGIN value-tail ***/ 510s # value-tail 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-tail ***/ 510s # 510s # /*** BEGIN comment ***/ 510s # comment 510s # comment: @comment@ 510s # /*** END comment ***/ 510s # 510s # /*** BEGIN file-tail ***/ 510s # file-tail 510s # /*** END file-tail ***/ 510s # 510s # Response file contains: --template /tmp/tmp6mhobhng/tmpe5rxhj4h.template /tmp/tmp6mhobhng/tmp7o33pmwq.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6mhobhng/tmpx9wv9838'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # Output: comment 510s # 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. 510s # 510s # 510s # file-header 510s # file-production 510s # filename: /tmp/tmp6mhobhng/tmp7o33pmwq.h 510s # basename: tmp7o33pmwq.h 510s # enumeration-production 510s # EnumName: GeglSamplerType 510s # enum_name: gegl_sampler_type 510s # ENUMNAME: GEGL_SAMPLER_TYPE 510s # ENUMSHORT: SAMPLER_TYPE 510s # ENUMPREFIX: GEGL 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-header 510s # EnumName: GeglSamplerType 510s # enum_name: gegl_sampler_type 510s # ENUMNAME: GEGL_SAMPLER_TYPE 510s # ENUMSHORT: SAMPLER_TYPE 510s # ENUMPREFIX: GEGL 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-production 510s # VALUENAME: GEGL_SAMPLER_NEAREST 510s # valuenick: nearest 510s # valuenum: 0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-tail 510s # EnumName: GeglSamplerType 510s # enum_name: gegl_sampler_type 510s # ENUMNAME: GEGL_SAMPLER_TYPE 510s # ENUMSHORT: SAMPLER_TYPE 510s # ENUMPREFIX: GEGL 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # file-tail 510s # 510s # comment 510s # comment: Generated data ends here 510s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 510s # tmpdir: /tmp/tmpfwcto4ik 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmpfwcto4ik/tmpnw_z3ft_.h: 510s # /* Copyright © La Peña */ 510s # typedef enum { 510s # ENUM_VALUE 510s # } SomeEnumIdentifier; 510s # 510s # /tmp/tmpfwcto4ik/tmp2lo3lfxy.template: 510s # /*** BEGIN file-header ***/ 510s # file-header 510s # /*** END file-header ***/ 510s # 510s # /*** BEGIN file-production ***/ 510s # file-production 510s # filename: @filename@ 510s # basename: @basename@ 510s # /*** END file-production ***/ 510s # 510s # /*** BEGIN enumeration-production ***/ 510s # enumeration-production 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END enumeration-production ***/ 510s # 510s # /*** BEGIN value-header ***/ 510s # value-header 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-header ***/ 510s # 510s # /*** BEGIN value-production ***/ 510s # value-production 510s # VALUENAME: @VALUENAME@ 510s # valuenick: @valuenick@ 510s # valuenum: @valuenum@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-production ***/ 510s # 510s # /*** BEGIN value-tail ***/ 510s # value-tail 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-tail ***/ 510s # 510s # /*** BEGIN comment ***/ 510s # comment 510s # comment: @comment@ 510s # /*** END comment ***/ 510s # 510s # /*** BEGIN file-tail ***/ 510s # file-tail 510s # /*** END file-tail ***/ 510s # 510s # Response file contains: --template /tmp/tmpfwcto4ik/tmp2lo3lfxy.template /tmp/tmpfwcto4ik/tmpnw_z3ft_.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfwcto4ik/tmpvi50c3uy'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # Output: comment 510s # 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. 510s # 510s # 510s # file-header 510s # file-production 510s # filename: /tmp/tmpfwcto4ik/tmpnw_z3ft_.h 510s # basename: tmpnw_z3ft_.h 510s # enumeration-production 510s # EnumName: SomeEnumIdentifier 510s # enum_name: some_enum_identifier 510s # ENUMNAME: SOME_ENUM_IDENTIFIER 510s # ENUMSHORT: ENUM_IDENTIFIER 510s # ENUMPREFIX: SOME 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-header 510s # EnumName: SomeEnumIdentifier 510s # enum_name: some_enum_identifier 510s # ENUMNAME: SOME_ENUM_IDENTIFIER 510s # ENUMSHORT: ENUM_IDENTIFIER 510s # ENUMPREFIX: SOME 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-production 510s # VALUENAME: ENUM_VALUE 510s # valuenick: value 510s # valuenum: 0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-tail 510s # EnumName: SomeEnumIdentifier 510s # enum_name: some_enum_identifier 510s # ENUMNAME: SOME_ENUM_IDENTIFIER 510s # ENUMSHORT: ENUM_IDENTIFIER 510s # ENUMPREFIX: SOME 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # file-tail 510s # 510s # comment 510s # comment: Generated data ends here 510s ok 34 __main__.TestRspMkenums.test_reproducible 510s # tmpdir: /tmp/tmpfkhd_32v 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmpfkhd_32v/tmp09ob5m6v.template: template 510s # Response file contains: --template /tmp/tmpfkhd_32v/tmp09ob5m6v.template /tmp/tmpfkhd_32v/tmplfd1jm4_1.h /tmp/tmpfkhd_32v/tmpal_0wfal2.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfkhd_32v/tmp1of6sd0p'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # 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. */ 510s # 510s # 510s # /* Generated data ends here */ 510s # /tmp/tmpfkhd_32v/tmp1np1gwho.template: template 510s # Response file contains: --template /tmp/tmpfkhd_32v/tmp1np1gwho.template /tmp/tmpfkhd_32v/tmpal_0wfal2.h /tmp/tmpfkhd_32v/tmplfd1jm4_1.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfkhd_32v/tmpi28zhsiw'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # 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. */ 510s # 510s # 510s # /* Generated data ends here */ 510s ok 35 __main__.TestRspMkenums.test_since 510s # tmpdir: /tmp/tmp5w2_f2rj 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmp5w2_f2rj/tmpe87d9mih.h: 510s # typedef enum { /*< since=1.0 >*/ 510s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 510s # } QmiWmsMessageProtocol; 510s # 510s # /tmp/tmp5w2_f2rj/tmpvsjbcamy.template: 510s # /*** BEGIN file-header ***/ 510s # file-header 510s # /*** END file-header ***/ 510s # 510s # /*** BEGIN file-production ***/ 510s # file-production 510s # filename: @filename@ 510s # basename: @basename@ 510s # /*** END file-production ***/ 510s # 510s # /*** BEGIN enumeration-production ***/ 510s # enumeration-production 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END enumeration-production ***/ 510s # 510s # /*** BEGIN value-header ***/ 510s # value-header 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-header ***/ 510s # 510s # /*** BEGIN value-production ***/ 510s # value-production 510s # VALUENAME: @VALUENAME@ 510s # valuenick: @valuenick@ 510s # valuenum: @valuenum@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-production ***/ 510s # 510s # /*** BEGIN value-tail ***/ 510s # value-tail 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-tail ***/ 510s # 510s # /*** BEGIN comment ***/ 510s # comment 510s # comment: @comment@ 510s # /*** END comment ***/ 510s # 510s # /*** BEGIN file-tail ***/ 510s # file-tail 510s # /*** END file-tail ***/ 510s # 510s # Response file contains: --template /tmp/tmp5w2_f2rj/tmpvsjbcamy.template /tmp/tmp5w2_f2rj/tmpe87d9mih.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5w2_f2rj/tmpj2j2hm0q'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # Output: comment 510s # 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. 510s # 510s # 510s # file-header 510s # file-production 510s # filename: /tmp/tmp5w2_f2rj/tmpe87d9mih.h 510s # basename: tmpe87d9mih.h 510s # enumeration-production 510s # EnumName: QmiWmsMessageProtocol 510s # enum_name: qmi_wms_message_protocol 510s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 510s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 510s # ENUMPREFIX: QMI 510s # enumsince: 1.0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-header 510s # EnumName: QmiWmsMessageProtocol 510s # enum_name: qmi_wms_message_protocol 510s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 510s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 510s # ENUMPREFIX: QMI 510s # enumsince: 1.0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-production 510s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 510s # valuenick: cdma 510s # valuenum: 0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-tail 510s # EnumName: QmiWmsMessageProtocol 510s # enum_name: qmi_wms_message_protocol 510s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 510s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 510s # ENUMPREFIX: QMI 510s # enumsince: 1.0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # file-tail 510s # 510s # comment 510s # comment: Generated data ends here 510s ok 36 __main__.TestRspMkenums.test_with_double_quotes 510s # tmpdir: /tmp/tmp0e_blaet 510s # rspfile: True, mkenums: /usr/bin/glib-mkenums 510s # /tmp/tmp0e_blaet/tmp2gbekftq.h: 510s # typedef enum { 510s # FOO_VALUE /*< nick="eek, a comma" >*/ 510s # } Foo; 510s # 510s # /tmp/tmp0e_blaet/tmp660kws6h.template: 510s # /*** BEGIN file-header ***/ 510s # file-header 510s # /*** END file-header ***/ 510s # 510s # /*** BEGIN file-production ***/ 510s # file-production 510s # filename: @filename@ 510s # basename: @basename@ 510s # /*** END file-production ***/ 510s # 510s # /*** BEGIN enumeration-production ***/ 510s # enumeration-production 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END enumeration-production ***/ 510s # 510s # /*** BEGIN value-header ***/ 510s # value-header 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-header ***/ 510s # 510s # /*** BEGIN value-production ***/ 510s # value-production 510s # VALUENAME: @VALUENAME@ 510s # valuenick: @valuenick@ 510s # valuenum: @valuenum@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-production ***/ 510s # 510s # /*** BEGIN value-tail ***/ 510s # value-tail 510s # EnumName: @EnumName@ 510s # enum_name: @enum_name@ 510s # ENUMNAME: @ENUMNAME@ 510s # ENUMSHORT: @ENUMSHORT@ 510s # ENUMPREFIX: @ENUMPREFIX@ 510s # enumsince: @enumsince@ 510s # type: @type@ 510s # Type: @Type@ 510s # TYPE: @TYPE@ 510s # /*** END value-tail ***/ 510s # 510s # /*** BEGIN comment ***/ 510s # comment 510s # comment: @comment@ 510s # /*** END comment ***/ 510s # 510s # /*** BEGIN file-tail ***/ 510s # file-tail 510s # /*** END file-tail ***/ 510s # 510s # Response file contains: --template /tmp/tmp0e_blaet/tmp660kws6h.template /tmp/tmp0e_blaet/tmp2gbekftq.h 510s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0e_blaet/tmpacv23wnw'] 510s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-FhEVFKzCWq,guid=e1b5990fc3d7a8f6782296606734644f', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.L0Waye/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.5jlANlNE92', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.pBECfj/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.L0Waye/wrapper.sh --artifacts=/tmp/autopkgtest.L0Waye/installed-tests-artifacts --chdir=/tmp/autopkgtest.L0Waye/build.PWO/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.L0Waye/installed-tests-stderr --stdout=/tmp/autopkgtest.L0Waye/installed-tests-stdout --tmp=/tmp/autopkgtest.L0Waye/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests -- /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.L0Waye/build.PWO/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.L0Waye/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 510s # Output: comment 510s # 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. 510s # 510s # 510s # file-header 510s # file-production 510s # filename: /tmp/tmp0e_blaet/tmp2gbekftq.h 510s # basename: tmp2gbekftq.h 510s # enumeration-production 510s # EnumName: Foo 510s # enum_name: foo_ 510s # ENUMNAME: FOO_ 510s # ENUMSHORT: 510s # ENUMPREFIX: FOO 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-header 510s # EnumName: Foo 510s # enum_name: foo_ 510s # ENUMNAME: FOO_ 510s # ENUMSHORT: 510s # ENUMPREFIX: FOO 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-production 510s # VALUENAME: FOO_VALUE 510s # valuenick: eek, a comma 510s # valuenum: 0 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # value-tail 510s # EnumName: Foo 510s # enum_name: foo_ 510s # ENUMNAME: FOO_ 510s # ENUMSHORT: 510s # ENUMPREFIX: FOO 510s # enumsince: 510s # type: enum 510s # Type: Enum 510s # TYPE: ENUM 510s # file-tail 510s # 510s # comment 510s # comment: Generated data ends here 510s 1..36 510s ok - glib/mkenums.py.test 510s # Running test: glib/portal-support-none.test 510s TAP version 14 510s # random seed: R02S788cf2461ab92b35492c82210bd6f1be 510s 1..1 510s # Start of portal-support tests 510s ok 1 /portal-support/none 510s # End of portal-support tests 510s ok - glib/portal-support-none.test 510s # Running test: glib/gdbus-test-codegen.test 510s TAP version 14 510s # random seed: R02Sd8038c24be4465a5ad7dd239c00dbe45 510s 1..8 510s # Start of gdbus tests 510s # Start of codegen tests 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/annotations/.dirs/runtime 510s ok 1 /gdbus/codegen/annotations 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/interface_stability/.dirs/runtime 510s ok 2 /gdbus/codegen/interface_stability 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/object-manager/.dirs/runtime 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s ok 3 /gdbus/codegen/object-manager 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/property-naming/.dirs/runtime 510s ok 4 /gdbus/codegen/property-naming 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/autocleanups/.dirs/runtime 510s ok 5 /gdbus/codegen/autocleanups 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/deprecations/.dirs/runtime 510s ok 6 /gdbus/codegen/deprecations 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 510s ok 7 /gdbus/codegen/standalone-interface-info 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U2P0W2/gdbus/codegen/unix-fd-list/.dirs/runtime 510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 510s ok 8 /gdbus/codegen/unix-fd-list 510s # End of codegen tests 510s # End of gdbus tests 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok - glib/gdbus-test-codegen.test 510s # Running test: glib/dataset.test 510s TAP version 14 510s # random seed: R02S701b85b0ae9df111b65102a115f703e3 510s 1..14 510s # Start of quark tests 510s ok 1 /quark/basic 510s ok 2 /quark/string 510s # End of quark tests 510s # Start of dataset tests 510s ok 3 /dataset/basic 510s ok 4 /dataset/id 510s ok 5 /dataset/full 510s ok 6 /dataset/foreach 510s ok 7 /dataset/destroy 510s # End of dataset tests 510s # Start of datalist tests 510s ok 8 /datalist/basic 510s ok 9 /datalist/id 510s ok 10 /datalist/recursive-clear 510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 510s ok 11 /datalist/id-remove-multiple 510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 510s ok 12 /datalist/id-remove-multiple-destroy-order 510s ok 13 /datalist/update-atomic 510s # Start of id-remove-multiple tests 510s ok 14 /datalist/id-remove-multiple/resize 510s # End of id-remove-multiple tests 510s # End of datalist tests 510s ok - glib/dataset.test 510s # Running test: glib/gdbus-connection.test 510s TAP version 14 510s # random seed: R02Sdffa5bc09f9bc0065ae7a4cdd0eebf96 510s 1..9 510s # Start of gdbus tests 510s # Start of connection tests 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/bus-failure/.dirs/runtime 510s ok 1 /gdbus/connection/bus-failure 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/basic/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 2 /gdbus/connection/basic 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/life-cycle/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 3 /gdbus/connection/life-cycle 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/send/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 4 /gdbus/connection/send 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signals/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 5 /gdbus/connection/signals 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/signal-match-rules/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 6 /gdbus/connection/signal-match-rules 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/filter/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 7 /gdbus/connection/filter 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/serials/.dirs/runtime 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 8 /gdbus/connection/serials 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_HCA2W2/gdbus/connection/cancel/.dirs/runtime 510s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 510s ok 9 /gdbus/connection/cancel 510s # End of connection tests 510s # End of gdbus tests 510s ok - glib/gdbus-connection.test 510s # Running test: glib/pathbuf.test 510s TAP version 14 510s # random seed: R02Se2bd8427d62ce8af9a924b48e5528ab7 510s 1..3 510s # Start of pathbuf tests 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3AR4W2/pathbuf/init/.dirs/runtime 510s # Initializing empty path buf 510s # Initializing with empty path 510s # Initializing with full path 510s # Initializing with no path 510s # Allocating GPathBuf on the heap 510s ok 1 /pathbuf/init 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3AR4W2/pathbuf/push-pop/.dirs/runtime 510s # Pushing relative path component 510s # Pushing absolute path component 510s # Popping a path component 510s # Can't pop the last element of a path buffer 510s ok 2 /pathbuf/push-pop 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_3AR4W2/pathbuf/filename-extension/.dirs/runtime 510s ok 3 /pathbuf/filename-extension 510s # End of pathbuf tests 510s ok - glib/pathbuf.test 510s # Running test: glib/mutex.test 510s TAP version 14 510s # random seed: R02Sbe7b12871014f7cf22f6d4f829e1131f 510s 1..17 510s # Start of thread tests 510s ok 1 /thread/mutex1 510s ok 2 /thread/mutex2 510s ok 3 /thread/mutex3 510s ok 4 /thread/mutex4 512s # Executing: glib/mutex.test 517s ok 5 /thread/mutex5 517s # slow test /thread/mutex5 executed in 6.51 secs 517s # Start of mutex tests 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s # /thread/mutex/errno summary: Validates that errno is not touched upon return 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 517s ok 6 /thread/mutex/errno 517s # Start of perf tests 517s # max perf: inf mips 517s ok 7 /thread/mutex/perf/uncontended 517s # Start of contended tests 517s # max perf: inf mips 517s ok 8 /thread/mutex/perf/contended/1 517s # max perf: inf mips 517s ok 9 /thread/mutex/perf/contended/2 517s # max perf: inf mips 517s ok 10 /thread/mutex/perf/contended/3 517s # max perf: 2.500000 mips 517s ok 11 /thread/mutex/perf/contended/4 517s # max perf: inf mips 517s ok 12 /thread/mutex/perf/contended/5 517s # max perf: 2.333333 mips 517s ok 13 /thread/mutex/perf/contended/6 517s # max perf: 4.000000 mips 517s ok 14 /thread/mutex/perf/contended/7 517s # max perf: inf mips 517s ok 15 /thread/mutex/perf/contended/8 517s # max perf: 3.333333 mips 517s ok 16 /thread/mutex/perf/contended/9 517s # max perf: 5.500000 mips 517s ok 17 /thread/mutex/perf/contended/10 517s # End of contended tests 517s # End of perf tests 517s # End of mutex tests 517s # End of thread tests 517s ok - glib/mutex.test 517s # Running test: glib/gdbus-connection-flush.test 517s TAP version 14 517s # random seed: R02S7ae4487fbb18d2179d7037d33faf72a8 517s 1..2 517s # Start of gdbus tests 517s # Start of connection tests 517s # Start of flush tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/busy/.dirs/runtime 517s ok 1 /gdbus/connection/flush/busy 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_VV41W2/gdbus/connection/flush/idle/.dirs/runtime 517s ok 2 /gdbus/connection/flush/idle 517s # End of flush tests 517s # End of connection tests 517s # End of gdbus tests 517s ok - glib/gdbus-connection-flush.test 517s # Running test: glib/notify-init.test 517s TAP version 14 517s # random seed: R02Sad82bfc66720819630eb59be6597123a 517s 1..1 517s # Start of properties tests 517s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 517s ok 1 /properties/notify-in-init 517s # End of properties tests 517s ok - glib/notify-init.test 517s # Running test: glib/gdbus-sasl.test 517s # Executing: glib/gdbus-sasl.test 517s TAP version 14 517s # random seed: R02Sb67b7619018f9ab1cb45e9b59589d027 517s 1..1 517s # Start of gdbus tests 517s # Start of sasl tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_92W2W2/gdbus/sasl/server/.dirs/runtime 517s # New handshake: EXTERNAL with incorrect initial response 517s # C:“AUTH EXTERNAL 30†517s # Expect: /^REJECTED.*$/ 517s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†517s # New handshake: EXTERNAL without initial response, failing to authenticate 517s # C:“AUTH EXTERNAL†517s # Expect: /^DATA$/ 517s # S:“DATA†517s # C:“DATA 30†517s # Expect: /^REJECTED.*$/ 517s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†517s # New handshake: EXTERNAL with initial response 517s # C:“AUTH EXTERNAL 31303030†517s # Expect: /^OK [0-9a-f]+$/ 517s # S:“OK 3672946c5390835476fb35af67346591†517s # New handshake: EXTERNAL without initial response 517s # C:“AUTH EXTERNAL†517s # Expect: /^DATA$/ 517s # S:“DATA†517s # C:“DATA 31303030†517s # Expect: /^OK [0-9a-f]+$/ 517s # S:“OK 3672946c5390835476fb35af67346591†517s # New handshake: EXTERNAL with empty authorization identity 517s # C:“AUTH EXTERNAL†517s # Expect: /^DATA$/ 517s # S:“DATA†517s # C:“DATA†517s # Expect: /^OK [0-9a-f]+$/ 517s # S:“OK 3672946c5390835476fb35af67346591†517s # New handshake: EXTERNAL with empty authorization identity and whitespace 517s # C:“AUTH EXTERNAL†517s # Expect: /^DATA$/ 517s # S:“DATA†517s # C:“DATA †517s # Expect: /^OK [0-9a-f]+$/ 517s # S:“OK 3672946c5390835476fb35af67346591†517s ok 1 /gdbus/sasl/server 517s # End of sasl tests 517s # End of gdbus tests 517s ok - glib/gdbus-sasl.test 517s # Running test: glib/tls-interaction.test 517s TAP version 14 517s # random seed: R02S5e04940fd2ca92d02325a3da5e6901fc 517s 1..42 517s # Start of tls-interaction tests 517s # Start of ask-password tests 517s # Start of invoke-with-loop tests 517s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 517s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 517s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 517s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 517s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 517s # End of invoke-with-loop tests 517s # Start of invoke-without-loop tests 517s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 517s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 517s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 517s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 517s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 517s # End of invoke-without-loop tests 517s # Start of invoke-in-loop tests 517s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 517s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 517s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 517s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 517s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 517s # End of invoke-in-loop tests 517s # Start of sync tests 517s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 517s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 517s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 517s # End of sync tests 517s # Start of async tests 517s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 517s ok 20 /tls-interaction/ask-password/async/async-implementation-success 517s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 517s # End of async tests 517s # End of ask-password tests 517s # Start of request-certificate tests 517s # Start of invoke-with-loop tests 517s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 517s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 517s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 517s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 517s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 517s # End of invoke-with-loop tests 517s # Start of invoke-without-loop tests 517s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 517s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 517s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 517s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 517s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 517s # End of invoke-without-loop tests 517s # Start of invoke-in-loop tests 517s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 517s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 517s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 517s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 517s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 517s # End of invoke-in-loop tests 517s # Start of sync tests 517s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 517s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 517s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 517s # End of sync tests 517s # Start of async tests 517s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 517s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 517s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 517s # End of async tests 517s # End of request-certificate tests 517s # End of tls-interaction tests 517s ok - glib/tls-interaction.test 517s # Running test: glib/spawn-test.test 517s TAP version 14 517s # random seed: R02S558fbee3707b7cad198a05d1c0234103 517s 1..2 517s # Start of spawn tests 517s ok 1 /spawn/basics 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 517s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 517s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 517s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 517s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 517s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 517s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 517s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 517s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 517s # Fetching GSpawn result output with stdin open, stdout open, stderr open 517s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 517s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 517s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 517s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 517s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 517s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 517s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 517s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 517s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 517s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 517s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 517s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 517s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 517s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 517s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 517s # Fetching GSpawn result with stdin open, stdout open, stderr open 517s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 517s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 517s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 517s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 517s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 517s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 517s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 517s ok 2 /spawn/stdio-overwrite 517s # End of spawn tests 517s ok - glib/spawn-test.test 517s # Running test: glib/regex.test 517s TAP version 14 517s # random seed: R02Sb8a4f04df71470fe599e6e62985ad551 517s 1..848 517s # Start of regex tests 517s ok 1 /regex/properties 517s ok 2 /regex/class 517s ok 3 /regex/lookahead 517s ok 4 /regex/lookbehind 517s ok 5 /regex/subpattern 517s ok 6 /regex/condition 517s ok 7 /regex/recursion 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 517s ok 8 /regex/multiline 517s ok 9 /regex/explicit-crlf 517s ok 10 /regex/max-lookbehind 517s ok 11 /regex/compile-errors 517s ok 12 /regex/jit-unsupported-matching 517s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 517s ok 13 /regex/unmatched-named-subpattern 517s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 517s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 517s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 517s ok 14 /regex/compiled-regex-after-jit-failure 517s # Start of new tests 517s ok 15 /regex/new/1 517s ok 16 /regex/new/2 517s ok 17 /regex/new/3 517s ok 18 /regex/new/4 517s ok 19 /regex/new/5 517s ok 20 /regex/new/6 517s ok 21 /regex/new/7 517s ok 22 /regex/new/8 517s ok 23 /regex/new/9 517s ok 24 /regex/new/10 517s ok 25 /regex/new/11 517s ok 26 /regex/new/12 517s ok 27 /regex/new/13 517s ok 28 /regex/new/14 517s ok 29 /regex/new/15 517s ok 30 /regex/new/16 517s ok 31 /regex/new/17 517s ok 32 /regex/new/18 517s ok 33 /regex/new/19 517s ok 34 /regex/new/71 517s ok 35 /regex/new/80 517s ok 36 /regex/new/82 517s # End of new tests 517s # Start of new-check-flags tests 517s ok 37 /regex/new-check-flags/20 517s ok 38 /regex/new-check-flags/21 517s ok 39 /regex/new-check-flags/22 517s ok 40 /regex/new-check-flags/23 517s ok 41 /regex/new-check-flags/24 517s ok 42 /regex/new-check-flags/25 517s ok 43 /regex/new-check-flags/26 517s ok 44 /regex/new-check-flags/27 517s ok 45 /regex/new-check-flags/28 517s ok 46 /regex/new-check-flags/29 517s ok 47 /regex/new-check-flags/30 517s ok 48 /regex/new-check-flags/31 517s ok 49 /regex/new-check-flags/32 517s ok 50 /regex/new-check-flags/33 517s ok 51 /regex/new-check-flags/34 517s ok 52 /regex/new-check-flags/35 517s ok 53 /regex/new-check-flags/36 517s # End of new-check-flags tests 517s # Start of new-fail tests 517s ok 54 /regex/new-fail/37 517s ok 55 /regex/new-fail/38 517s ok 56 /regex/new-fail/39 517s ok 57 /regex/new-fail/40 517s ok 58 /regex/new-fail/41 517s ok 59 /regex/new-fail/42 517s ok 60 /regex/new-fail/43 517s ok 61 /regex/new-fail/44 517s ok 62 /regex/new-fail/45 517s ok 63 /regex/new-fail/46 517s ok 64 /regex/new-fail/47 517s ok 65 /regex/new-fail/48 517s ok 66 /regex/new-fail/49 517s ok 67 /regex/new-fail/50 517s ok 68 /regex/new-fail/51 517s ok 69 /regex/new-fail/52 517s ok 70 /regex/new-fail/53 517s ok 71 /regex/new-fail/54 517s ok 72 /regex/new-fail/55 517s ok 73 /regex/new-fail/56 517s ok 74 /regex/new-fail/57 517s ok 75 /regex/new-fail/58 517s ok 76 /regex/new-fail/59 517s ok 77 /regex/new-fail/60 517s ok 78 /regex/new-fail/61 517s ok 79 /regex/new-fail/62 517s ok 80 /regex/new-fail/63 517s ok 81 /regex/new-fail/64 517s ok 82 /regex/new-fail/65 517s ok 83 /regex/new-fail/66 517s ok 84 /regex/new-fail/67 517s ok 85 /regex/new-fail/68 517s ok 86 /regex/new-fail/69 517s ok 87 /regex/new-fail/70 517s ok 88 /regex/new-fail/72 517s ok 89 /regex/new-fail/73 517s ok 90 /regex/new-fail/74 517s ok 91 /regex/new-fail/75 517s ok 92 /regex/new-fail/76 517s ok 93 /regex/new-fail/77 517s ok 94 /regex/new-fail/78 517s ok 95 /regex/new-fail/79 517s ok 96 /regex/new-fail/81 517s ok 97 /regex/new-fail/83 517s ok 98 /regex/new-fail/84 517s ok 99 /regex/new-fail/85 517s ok 100 /regex/new-fail/86 517s ok 101 /regex/new-fail/87 517s ok 102 /regex/new-fail/88 517s ok 103 /regex/new-fail/89 517s ok 104 /regex/new-fail/90 517s ok 105 /regex/new-fail/91 517s # End of new-fail tests 517s # Start of match-simple tests 517s ok 106 /regex/match-simple/92 517s ok 107 /regex/match-simple/93 517s ok 108 /regex/match-simple/94 517s ok 109 /regex/match-simple/95 517s ok 110 /regex/match-simple/96 517s ok 111 /regex/match-simple/97 517s ok 112 /regex/match-simple/98 517s ok 113 /regex/match-simple/99 517s ok 114 /regex/match-simple/100 517s ok 115 /regex/match-simple/101 517s ok 116 /regex/match-simple/102 517s ok 117 /regex/match-simple/103 517s ok 118 /regex/match-simple/104 517s ok 119 /regex/match-simple/105 517s ok 120 /regex/match-simple/106 517s ok 121 /regex/match-simple/107 517s ok 122 /regex/match-simple/108 517s ok 123 /regex/match-simple/109 517s ok 124 /regex/match-simple/110 517s ok 125 /regex/match-simple/111 517s ok 126 /regex/match-simple/112 517s ok 127 /regex/match-simple/113 517s ok 128 /regex/match-simple/114 517s ok 129 /regex/match-simple/115 517s ok 130 /regex/match-simple/116 517s ok 131 /regex/match-simple/117 517s ok 132 /regex/match-simple/118 517s ok 133 /regex/match-simple/119 517s ok 134 /regex/match-simple/120 517s ok 135 /regex/match-simple/121 517s ok 136 /regex/match-simple/122 517s ok 137 /regex/match-simple/123 517s ok 138 /regex/match-simple/124 517s ok 139 /regex/match-simple/125 517s ok 140 /regex/match-simple/126 517s ok 141 /regex/match-simple/127 517s ok 142 /regex/match-simple/128 517s ok 143 /regex/match-simple/129 517s ok 144 /regex/match-simple/130 517s ok 145 /regex/match-simple/131 517s ok 146 /regex/match-simple/132 517s ok 147 /regex/match-simple/133 517s ok 148 /regex/match-simple/134 517s ok 149 /regex/match-simple/135 517s ok 150 /regex/match-simple/136 517s ok 151 /regex/match-simple/137 517s ok 152 /regex/match-simple/138 517s ok 153 /regex/match-simple/139 517s ok 154 /regex/match-simple/140 517s ok 155 /regex/match-simple/141 517s ok 156 /regex/match-simple/142 517s ok 157 /regex/match-simple/143 517s ok 158 /regex/match-simple/144 517s ok 159 /regex/match-simple/145 517s ok 160 /regex/match-simple/146 517s ok 161 /regex/match-simple/147 517s ok 162 /regex/match-simple/148 517s ok 163 /regex/match-simple/149 517s ok 164 /regex/match-simple/150 517s ok 165 /regex/match-simple/151 517s ok 166 /regex/match-simple/152 517s ok 167 /regex/match-simple/153 517s ok 168 /regex/match-simple/154 517s ok 169 /regex/match-simple/155 517s ok 170 /regex/match-simple/156 517s ok 171 /regex/match-simple/157 517s ok 172 /regex/match-simple/158 517s ok 173 /regex/match-simple/159 517s ok 174 /regex/match-simple/160 517s ok 175 /regex/match-simple/161 517s ok 176 /regex/match-simple/162 517s ok 177 /regex/match-simple/163 517s ok 178 /regex/match-simple/164 517s # End of match-simple tests 517s # Start of match-simple-optimized tests 517s ok 179 /regex/match-simple-optimized/92 517s ok 180 /regex/match-simple-optimized/93 517s ok 181 /regex/match-simple-optimized/94 517s ok 182 /regex/match-simple-optimized/95 517s ok 183 /regex/match-simple-optimized/96 517s ok 184 /regex/match-simple-optimized/97 517s ok 185 /regex/match-simple-optimized/98 517s ok 186 /regex/match-simple-optimized/99 517s ok 187 /regex/match-simple-optimized/100 517s ok 188 /regex/match-simple-optimized/101 517s ok 189 /regex/match-simple-optimized/102 517s ok 190 /regex/match-simple-optimized/103 517s ok 191 /regex/match-simple-optimized/104 517s ok 192 /regex/match-simple-optimized/105 517s ok 193 /regex/match-simple-optimized/106 517s ok 194 /regex/match-simple-optimized/107 517s ok 195 /regex/match-simple-optimized/108 517s ok 196 /regex/match-simple-optimized/109 517s ok 197 /regex/match-simple-optimized/110 517s ok 198 /regex/match-simple-optimized/111 517s ok 199 /regex/match-simple-optimized/112 517s ok 200 /regex/match-simple-optimized/113 517s ok 201 /regex/match-simple-optimized/114 517s ok 202 /regex/match-simple-optimized/115 517s ok 203 /regex/match-simple-optimized/116 517s ok 204 /regex/match-simple-optimized/117 517s ok 205 /regex/match-simple-optimized/118 517s ok 206 /regex/match-simple-optimized/119 517s ok 207 /regex/match-simple-optimized/120 517s ok 208 /regex/match-simple-optimized/121 517s ok 209 /regex/match-simple-optimized/122 517s ok 210 /regex/match-simple-optimized/123 517s ok 211 /regex/match-simple-optimized/124 517s ok 212 /regex/match-simple-optimized/125 517s ok 213 /regex/match-simple-optimized/126 517s ok 214 /regex/match-simple-optimized/127 517s ok 215 /regex/match-simple-optimized/128 517s ok 216 /regex/match-simple-optimized/129 517s ok 217 /regex/match-simple-optimized/130 517s ok 218 /regex/match-simple-optimized/131 517s ok 219 /regex/match-simple-optimized/132 517s ok 220 /regex/match-simple-optimized/133 517s ok 221 /regex/match-simple-optimized/134 517s ok 222 /regex/match-simple-optimized/135 517s ok 223 /regex/match-simple-optimized/136 517s ok 224 /regex/match-simple-optimized/137 517s ok 225 /regex/match-simple-optimized/138 517s ok 226 /regex/match-simple-optimized/139 517s ok 227 /regex/match-simple-optimized/140 517s ok 228 /regex/match-simple-optimized/141 517s ok 229 /regex/match-simple-optimized/142 517s ok 230 /regex/match-simple-optimized/143 517s ok 231 /regex/match-simple-optimized/144 517s ok 232 /regex/match-simple-optimized/145 517s ok 233 /regex/match-simple-optimized/146 517s ok 234 /regex/match-simple-optimized/147 517s ok 235 /regex/match-simple-optimized/148 517s ok 236 /regex/match-simple-optimized/149 517s ok 237 /regex/match-simple-optimized/150 517s ok 238 /regex/match-simple-optimized/151 517s ok 239 /regex/match-simple-optimized/152 517s ok 240 /regex/match-simple-optimized/153 517s ok 241 /regex/match-simple-optimized/154 517s ok 242 /regex/match-simple-optimized/155 517s ok 243 /regex/match-simple-optimized/156 517s ok 244 /regex/match-simple-optimized/157 517s ok 245 /regex/match-simple-optimized/158 517s ok 246 /regex/match-simple-optimized/159 517s ok 247 /regex/match-simple-optimized/160 517s ok 248 /regex/match-simple-optimized/161 517s ok 249 /regex/match-simple-optimized/162 517s ok 250 /regex/match-simple-optimized/163 517s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 517s ok 251 /regex/match-simple-optimized/164 517s # End of match-simple-optimized tests 517s # Start of match tests 517s ok 252 /regex/match/165 517s ok 253 /regex/match/166 517s ok 254 /regex/match/167 517s ok 255 /regex/match/168 517s ok 256 /regex/match/169 517s ok 257 /regex/match/170 517s ok 258 /regex/match/171 517s ok 259 /regex/match/172 517s ok 260 /regex/match/173 517s ok 261 /regex/match/174 517s ok 262 /regex/match/175 517s ok 263 /regex/match/176 517s ok 264 /regex/match/177 517s ok 265 /regex/match/178 517s ok 266 /regex/match/179 517s ok 267 /regex/match/180 517s ok 268 /regex/match/181 517s ok 269 /regex/match/182 517s ok 270 /regex/match/183 517s ok 271 /regex/match/184 517s ok 272 /regex/match/185 517s ok 273 /regex/match/186 517s ok 274 /regex/match/187 517s ok 275 /regex/match/188 517s ok 276 /regex/match/189 517s ok 277 /regex/match/190 517s ok 278 /regex/match/191 517s ok 279 /regex/match/192 517s ok 280 /regex/match/193 517s ok 281 /regex/match/194 517s ok 282 /regex/match/195 517s ok 283 /regex/match/196 517s ok 284 /regex/match/197 517s ok 285 /regex/match/198 517s ok 286 /regex/match/199 517s ok 287 /regex/match/200 517s ok 288 /regex/match/201 517s ok 289 /regex/match/202 517s ok 290 /regex/match/203 517s ok 291 /regex/match/204 517s ok 292 /regex/match/205 517s ok 293 /regex/match/206 517s ok 294 /regex/match/207 517s ok 295 /regex/match/208 517s ok 296 /regex/match/209 517s ok 297 /regex/match/210 517s ok 298 /regex/match/211 517s ok 299 /regex/match/212 517s ok 300 /regex/match/213 517s ok 301 /regex/match/214 517s ok 302 /regex/match/215 517s ok 303 /regex/match/216 517s ok 304 /regex/match/217 517s ok 305 /regex/match/218 517s ok 306 /regex/match/219 517s ok 307 /regex/match/220 517s ok 308 /regex/match/221 517s ok 309 /regex/match/222 517s ok 310 /regex/match/223 517s ok 311 /regex/match/224 517s ok 312 /regex/match/225 517s ok 313 /regex/match/226 517s ok 314 /regex/match/227 517s ok 315 /regex/match/228 517s ok 316 /regex/match/229 517s ok 317 /regex/match/230 517s ok 318 /regex/match/231 517s ok 319 /regex/match/232 517s ok 320 /regex/match/233 517s ok 321 /regex/match/234 517s ok 322 /regex/match/235 517s ok 323 /regex/match/236 517s ok 324 /regex/match/237 517s ok 325 /regex/match/238 517s ok 326 /regex/match/239 517s ok 327 /regex/match/240 517s ok 328 /regex/match/241 517s ok 329 /regex/match/242 517s ok 330 /regex/match/243 517s ok 331 /regex/match/244 517s ok 332 /regex/match/245 517s ok 333 /regex/match/246 517s ok 334 /regex/match/partial281 517s ok 335 /regex/match/partial282 517s ok 336 /regex/match/partial283 517s ok 337 /regex/match/partial284 517s ok 338 /regex/match/partial285 517s ok 339 /regex/match/partial286 517s ok 340 /regex/match/partial287 517s ok 341 /regex/match/partial288 517s ok 342 /regex/match/partial289 517s ok 343 /regex/match/partial290 517s ok 344 /regex/match/partial291 517s ok 345 /regex/match/partial292 517s ok 346 /regex/match/partial293 517s ok 347 /regex/match/partial294 517s ok 348 /regex/match/partial295 517s ok 349 /regex/match/partial296 517s ok 350 /regex/match/partial297 517s ok 351 /regex/match/partial298 517s ok 352 /regex/match/partial299 517s ok 353 /regex/match/partial300 517s ok 354 /regex/match/partial301 517s ok 355 /regex/match/partial302 517s # Start of next0 tests 517s ok 356 /regex/match/next0/247 517s ok 357 /regex/match/next0/248 517s ok 358 /regex/match/next0/249 517s ok 359 /regex/match/next0/250 517s # End of next0 tests 517s # Start of next1 tests 517s ok 360 /regex/match/next1/251 517s ok 361 /regex/match/next1/252 517s ok 362 /regex/match/next1/253 517s ok 363 /regex/match/next1/254 517s ok 364 /regex/match/next1/255 517s # End of next1 tests 517s # Start of next2 tests 517s ok 365 /regex/match/next2/256 517s ok 366 /regex/match/next2/257 517s ok 367 /regex/match/next2/258 517s ok 368 /regex/match/next2/259 517s ok 369 /regex/match/next2/260 517s ok 370 /regex/match/next2/261 517s ok 371 /regex/match/next2/262 517s ok 372 /regex/match/next2/263 517s # End of next2 tests 517s # Start of next3 tests 517s ok 373 /regex/match/next3/264 517s ok 374 /regex/match/next3/265 517s ok 375 /regex/match/next3/266 517s ok 376 /regex/match/next3/267 517s ok 377 /regex/match/next3/268 517s ok 378 /regex/match/next3/269 517s # End of next3 tests 517s # Start of next4 tests 517s ok 379 /regex/match/next4/270 517s # End of next4 tests 517s # Start of count tests 517s ok 380 /regex/match/count/271 517s ok 381 /regex/match/count/272 517s ok 382 /regex/match/count/273 517s ok 383 /regex/match/count/274 517s ok 384 /regex/match/count/275 517s ok 385 /regex/match/count/276 517s ok 386 /regex/match/count/277 517s ok 387 /regex/match/count/278 517s ok 388 /regex/match/count/279 517s ok 389 /regex/match/count/280 517s # End of count tests 517s # Start of count-optimized tests 517s ok 390 /regex/match/count-optimized/271 517s ok 391 /regex/match/count-optimized/272 517s ok 392 /regex/match/count-optimized/273 517s ok 393 /regex/match/count-optimized/274 517s ok 394 /regex/match/count-optimized/275 517s ok 395 /regex/match/count-optimized/276 517s ok 396 /regex/match/count-optimized/277 517s ok 397 /regex/match/count-optimized/278 517s ok 398 /regex/match/count-optimized/279 517s ok 399 /regex/match/count-optimized/280 517s # End of count-optimized tests 517s # Start of partial-optimized tests 517s ok 400 /regex/match/partial-optimized/281 517s ok 401 /regex/match/partial-optimized/282 517s ok 402 /regex/match/partial-optimized/283 517s ok 403 /regex/match/partial-optimized/284 517s ok 404 /regex/match/partial-optimized/285 517s ok 405 /regex/match/partial-optimized/286 517s ok 406 /regex/match/partial-optimized/287 517s ok 407 /regex/match/partial-optimized/288 517s ok 408 /regex/match/partial-optimized/289 517s ok 409 /regex/match/partial-optimized/290 517s ok 410 /regex/match/partial-optimized/291 517s ok 411 /regex/match/partial-optimized/292 517s ok 412 /regex/match/partial-optimized/293 517s ok 413 /regex/match/partial-optimized/294 517s ok 414 /regex/match/partial-optimized/295 517s ok 415 /regex/match/partial-optimized/296 517s ok 416 /regex/match/partial-optimized/297 517s ok 417 /regex/match/partial-optimized/298 517s ok 418 /regex/match/partial-optimized/299 517s ok 419 /regex/match/partial-optimized/300 517s ok 420 /regex/match/partial-optimized/301 517s ok 421 /regex/match/partial-optimized/302 517s # End of partial-optimized tests 517s # Start of subpattern tests 517s ok 422 /regex/match/subpattern/303 517s ok 423 /regex/match/subpattern/304 517s ok 424 /regex/match/subpattern/305 517s ok 425 /regex/match/subpattern/306 517s ok 426 /regex/match/subpattern/307 517s ok 427 /regex/match/subpattern/308 517s ok 428 /regex/match/subpattern/309 517s ok 429 /regex/match/subpattern/310 517s ok 430 /regex/match/subpattern/311 517s ok 431 /regex/match/subpattern/312 517s ok 432 /regex/match/subpattern/313 517s ok 433 /regex/match/subpattern/314 517s ok 434 /regex/match/subpattern/315 517s # Start of named tests 517s # Start of dupnames tests 517s ok 435 /regex/match/subpattern/named/dupnames/325 517s ok 436 /regex/match/subpattern/named/dupnames/326 517s ok 437 /regex/match/subpattern/named/dupnames/327 517s ok 438 /regex/match/subpattern/named/dupnames/328 517s ok 439 /regex/match/subpattern/named/dupnames/329 517s # End of dupnames tests 517s # End of named tests 517s # End of subpattern tests 517s # Start of subpattern-optimized tests 517s ok 440 /regex/match/subpattern-optimized/303 517s ok 441 /regex/match/subpattern-optimized/304 517s ok 442 /regex/match/subpattern-optimized/305 517s ok 443 /regex/match/subpattern-optimized/306 517s ok 444 /regex/match/subpattern-optimized/307 517s ok 445 /regex/match/subpattern-optimized/308 517s ok 446 /regex/match/subpattern-optimized/309 517s ok 447 /regex/match/subpattern-optimized/310 517s ok 448 /regex/match/subpattern-optimized/311 517s ok 449 /regex/match/subpattern-optimized/312 517s ok 450 /regex/match/subpattern-optimized/313 517s ok 451 /regex/match/subpattern-optimized/314 517s ok 452 /regex/match/subpattern-optimized/315 517s # End of subpattern-optimized tests 517s # Start of named tests 517s # Start of subpattern tests 517s ok 453 /regex/match/named/subpattern/316 517s ok 454 /regex/match/named/subpattern/317 517s ok 455 /regex/match/named/subpattern/318 517s ok 456 /regex/match/named/subpattern/319 517s ok 457 /regex/match/named/subpattern/320 517s ok 458 /regex/match/named/subpattern/321 517s ok 459 /regex/match/named/subpattern/322 517s ok 460 /regex/match/named/subpattern/323 517s ok 461 /regex/match/named/subpattern/324 517s ok 462 /regex/match/named/subpattern/330 517s ok 463 /regex/match/named/subpattern/331 517s ok 464 /regex/match/named/subpattern/332 517s ok 465 /regex/match/named/subpattern/333 517s ok 466 /regex/match/named/subpattern/334 517s # End of subpattern tests 517s # End of named tests 517s # End of match tests 517s # Start of match-optimized tests 517s ok 467 /regex/match-optimized/165 517s ok 468 /regex/match-optimized/166 517s ok 469 /regex/match-optimized/167 517s ok 470 /regex/match-optimized/168 517s ok 471 /regex/match-optimized/169 517s ok 472 /regex/match-optimized/170 517s ok 473 /regex/match-optimized/171 517s ok 474 /regex/match-optimized/172 517s ok 475 /regex/match-optimized/173 517s ok 476 /regex/match-optimized/174 517s ok 477 /regex/match-optimized/175 517s ok 478 /regex/match-optimized/176 517s ok 479 /regex/match-optimized/177 517s ok 480 /regex/match-optimized/178 517s ok 481 /regex/match-optimized/179 517s ok 482 /regex/match-optimized/180 517s ok 483 /regex/match-optimized/181 517s ok 484 /regex/match-optimized/182 517s ok 485 /regex/match-optimized/183 517s ok 486 /regex/match-optimized/184 517s ok 487 /regex/match-optimized/185 517s ok 488 /regex/match-optimized/186 517s ok 489 /regex/match-optimized/187 517s ok 490 /regex/match-optimized/188 517s ok 491 /regex/match-optimized/189 517s ok 492 /regex/match-optimized/190 517s ok 493 /regex/match-optimized/191 517s ok 494 /regex/match-optimized/192 517s ok 495 /regex/match-optimized/193 517s ok 496 /regex/match-optimized/194 517s ok 497 /regex/match-optimized/195 517s ok 498 /regex/match-optimized/196 517s ok 499 /regex/match-optimized/197 517s ok 500 /regex/match-optimized/198 517s ok 501 /regex/match-optimized/199 517s ok 502 /regex/match-optimized/200 517s ok 503 /regex/match-optimized/201 517s ok 504 /regex/match-optimized/202 517s ok 505 /regex/match-optimized/203 517s ok 506 /regex/match-optimized/204 517s ok 507 /regex/match-optimized/205 517s ok 508 /regex/match-optimized/206 517s ok 509 /regex/match-optimized/207 517s ok 510 /regex/match-optimized/208 517s ok 511 /regex/match-optimized/209 517s ok 512 /regex/match-optimized/210 517s ok 513 /regex/match-optimized/211 517s ok 514 /regex/match-optimized/212 517s ok 515 /regex/match-optimized/213 517s ok 516 /regex/match-optimized/214 517s ok 517 /regex/match-optimized/215 517s ok 518 /regex/match-optimized/216 517s ok 519 /regex/match-optimized/217 517s ok 520 /regex/match-optimized/218 517s ok 521 /regex/match-optimized/219 517s ok 522 /regex/match-optimized/220 517s ok 523 /regex/match-optimized/221 517s ok 524 /regex/match-optimized/222 517s ok 525 /regex/match-optimized/223 517s ok 526 /regex/match-optimized/224 517s ok 527 /regex/match-optimized/225 517s ok 528 /regex/match-optimized/226 517s ok 529 /regex/match-optimized/227 517s ok 530 /regex/match-optimized/228 517s ok 531 /regex/match-optimized/229 517s ok 532 /regex/match-optimized/230 517s ok 533 /regex/match-optimized/231 517s ok 534 /regex/match-optimized/232 517s ok 535 /regex/match-optimized/233 517s ok 536 /regex/match-optimized/234 517s ok 537 /regex/match-optimized/235 517s ok 538 /regex/match-optimized/236 517s ok 539 /regex/match-optimized/237 517s ok 540 /regex/match-optimized/238 517s ok 541 /regex/match-optimized/239 517s ok 542 /regex/match-optimized/240 517s ok 543 /regex/match-optimized/241 517s ok 544 /regex/match-optimized/242 517s ok 545 /regex/match-optimized/243 517s ok 546 /regex/match-optimized/244 517s ok 547 /regex/match-optimized/245 517s ok 548 /regex/match-optimized/246 517s # End of match-optimized tests 517s # Start of fetch-all0 tests 517s ok 549 /regex/fetch-all0/335 517s ok 550 /regex/fetch-all0/336 517s # End of fetch-all0 tests 517s # Start of fetch-all1 tests 517s ok 551 /regex/fetch-all1/337 517s ok 552 /regex/fetch-all1/338 517s ok 553 /regex/fetch-all1/339 517s # End of fetch-all1 tests 517s # Start of fetch-all2 tests 517s ok 554 /regex/fetch-all2/340 517s ok 555 /regex/fetch-all2/341 517s ok 556 /regex/fetch-all2/342 517s # End of fetch-all2 tests 517s # Start of fetch-all3 tests 517s ok 557 /regex/fetch-all3/343 517s ok 558 /regex/fetch-all3/344 517s ok 559 /regex/fetch-all3/345 517s ok 560 /regex/fetch-all3/346 517s ok 561 /regex/fetch-all3/347 517s # End of fetch-all3 tests 517s # Start of split tests 517s # Start of simple0 tests 517s ok 562 /regex/split/simple0/348 517s ok 563 /regex/split/simple0/349 517s ok 564 /regex/split/simple0/364 517s ok 565 /regex/split/simple0/365 517s # End of simple0 tests 517s # Start of simple1 tests 517s ok 566 /regex/split/simple1/350 517s ok 567 /regex/split/simple1/351 517s # End of simple1 tests 517s # Start of simple2 tests 517s ok 568 /regex/split/simple2/352 517s ok 569 /regex/split/simple2/358 517s ok 570 /regex/split/simple2/360 517s # End of simple2 tests 517s # Start of simple3 tests 517s ok 571 /regex/split/simple3/353 517s ok 572 /regex/split/simple3/354 517s ok 573 /regex/split/simple3/355 517s ok 574 /regex/split/simple3/356 517s ok 575 /regex/split/simple3/357 517s ok 576 /regex/split/simple3/359 517s ok 577 /regex/split/simple3/361 517s ok 578 /regex/split/simple3/362 517s ok 579 /regex/split/simple3/363 517s # End of simple3 tests 517s # End of split tests 517s # Start of split0 tests 517s ok 580 /regex/split0/366 517s ok 581 /regex/split0/368 517s # End of split0 tests 517s # Start of full-split0 tests 517s ok 582 /regex/full-split0/367 517s ok 583 /regex/full-split0/369 517s ok 584 /regex/full-split0/370 517s ok 585 /regex/full-split0/371 517s ok 586 /regex/full-split0/372 517s # End of full-split0 tests 517s # Start of split1 tests 517s ok 587 /regex/split1/373 517s ok 588 /regex/split1/376 517s # End of split1 tests 517s # Start of full-split1 tests 517s ok 589 /regex/full-split1/374 517s ok 590 /regex/full-split1/375 517s ok 591 /regex/full-split1/377 517s ok 592 /regex/full-split1/378 517s ok 593 /regex/full-split1/404 517s # End of full-split1 tests 517s # Start of split2 tests 517s ok 594 /regex/split2/379 517s ok 595 /regex/split2/383 517s ok 596 /regex/split2/395 517s # End of split2 tests 517s # Start of full-split2 tests 517s ok 597 /regex/full-split2/380 517s ok 598 /regex/full-split2/381 517s ok 599 /regex/full-split2/382 517s ok 600 /regex/full-split2/384 517s ok 601 /regex/full-split2/396 517s ok 602 /regex/full-split2/399 517s ok 603 /regex/full-split2/405 517s # End of full-split2 tests 517s # Start of split3 tests 517s ok 604 /regex/split3/385 517s ok 605 /regex/split3/387 517s ok 606 /regex/split3/389 517s ok 607 /regex/split3/391 517s ok 608 /regex/split3/393 517s ok 609 /regex/split3/397 517s ok 610 /regex/split3/400 517s ok 611 /regex/split3/402 517s # End of split3 tests 517s # Start of full-split3 tests 517s ok 612 /regex/full-split3/386 517s ok 613 /regex/full-split3/388 517s ok 614 /regex/full-split3/390 517s ok 615 /regex/full-split3/392 517s ok 616 /regex/full-split3/394 517s ok 617 /regex/full-split3/398 517s ok 618 /regex/full-split3/401 517s ok 619 /regex/full-split3/403 517s ok 620 /regex/full-split3/406 517s ok 621 /regex/full-split3/407 517s # End of full-split3 tests 517s # Start of check-repacement tests 517s ok 622 /regex/check-repacement/408 517s ok 623 /regex/check-repacement/409 517s ok 624 /regex/check-repacement/410 517s ok 625 /regex/check-repacement/411 517s ok 626 /regex/check-repacement/412 517s ok 627 /regex/check-repacement/413 517s ok 628 /regex/check-repacement/414 517s ok 629 /regex/check-repacement/415 517s # End of check-repacement tests 517s # Start of expand tests 517s ok 630 /regex/expand/416 517s ok 631 /regex/expand/417 517s ok 632 /regex/expand/418 517s ok 633 /regex/expand/419 517s ok 634 /regex/expand/420 517s ok 635 /regex/expand/421 517s ok 636 /regex/expand/422 517s ok 637 /regex/expand/423 517s ok 638 /regex/expand/424 517s ok 639 /regex/expand/425 517s ok 640 /regex/expand/426 517s ok 641 /regex/expand/427 517s ok 642 /regex/expand/428 517s ok 643 /regex/expand/429 517s ok 644 /regex/expand/430 517s ok 645 /regex/expand/431 517s ok 646 /regex/expand/432 517s ok 647 /regex/expand/433 517s ok 648 /regex/expand/434 517s ok 649 /regex/expand/435 517s ok 650 /regex/expand/436 517s ok 651 /regex/expand/437 517s ok 652 /regex/expand/438 517s ok 653 /regex/expand/439 517s ok 654 /regex/expand/440 517s ok 655 /regex/expand/441 517s ok 656 /regex/expand/442 517s ok 657 /regex/expand/443 517s ok 658 /regex/expand/444 517s ok 659 /regex/expand/445 517s ok 660 /regex/expand/446 517s ok 661 /regex/expand/447 517s ok 662 /regex/expand/448 517s ok 663 /regex/expand/449 517s ok 664 /regex/expand/450 517s ok 665 /regex/expand/451 517s ok 666 /regex/expand/452 517s ok 667 /regex/expand/453 517s ok 668 /regex/expand/454 517s ok 669 /regex/expand/455 517s ok 670 /regex/expand/456 517s ok 671 /regex/expand/457 517s ok 672 /regex/expand/458 517s ok 673 /regex/expand/459 517s ok 674 /regex/expand/460 517s ok 675 /regex/expand/461 517s ok 676 /regex/expand/462 517s ok 677 /regex/expand/463 517s ok 678 /regex/expand/464 517s ok 679 /regex/expand/465 517s ok 680 /regex/expand/466 517s ok 681 /regex/expand/467 517s ok 682 /regex/expand/468 517s ok 683 /regex/expand/469 517s ok 684 /regex/expand/470 517s ok 685 /regex/expand/471 517s ok 686 /regex/expand/472 517s ok 687 /regex/expand/473 517s ok 688 /regex/expand/474 517s ok 689 /regex/expand/475 517s ok 690 /regex/expand/476 517s ok 691 /regex/expand/477 517s ok 692 /regex/expand/478 517s ok 693 /regex/expand/479 517s ok 694 /regex/expand/480 517s ok 695 /regex/expand/481 517s # End of expand tests 517s # Start of replace tests 517s ok 696 /regex/replace/482 517s ok 697 /regex/replace/483 517s ok 698 /regex/replace/484 517s ok 699 /regex/replace/485 517s ok 700 /regex/replace/486 517s ok 701 /regex/replace/487 517s ok 702 /regex/replace/488 517s ok 703 /regex/replace/489 517s ok 704 /regex/replace/490 517s ok 705 /regex/replace/491 517s ok 706 /regex/replace/492 517s ok 707 /regex/replace/493 517s ok 708 /regex/replace/494 517s ok 709 /regex/replace/495 517s ok 710 /regex/replace/496 517s ok 711 /regex/replace/497 517s ok 712 /regex/replace/498 517s ok 713 /regex/replace/499 517s ok 714 /regex/replace/500 517s ok 715 /regex/replace/501 517s ok 716 /regex/replace/502 517s ok 717 /regex/replace/503 517s ok 718 /regex/replace/504 517s ok 719 /regex/replace/505 517s ok 720 /regex/replace/506 517s ok 721 /regex/replace/507 517s ok 722 /regex/replace/508 517s ok 723 /regex/replace/509 517s # End of replace tests 517s # Start of replace-optimized tests 517s ok 724 /regex/replace-optimized/482 517s ok 725 /regex/replace-optimized/483 517s ok 726 /regex/replace-optimized/484 517s ok 727 /regex/replace-optimized/485 517s ok 728 /regex/replace-optimized/486 517s ok 729 /regex/replace-optimized/487 517s ok 730 /regex/replace-optimized/488 517s ok 731 /regex/replace-optimized/489 517s ok 732 /regex/replace-optimized/490 517s ok 733 /regex/replace-optimized/491 517s ok 734 /regex/replace-optimized/492 517s ok 735 /regex/replace-optimized/493 517s ok 736 /regex/replace-optimized/494 517s ok 737 /regex/replace-optimized/495 517s ok 738 /regex/replace-optimized/496 517s ok 739 /regex/replace-optimized/497 517s ok 740 /regex/replace-optimized/498 517s ok 741 /regex/replace-optimized/499 517s ok 742 /regex/replace-optimized/500 517s ok 743 /regex/replace-optimized/501 517s ok 744 /regex/replace-optimized/502 517s ok 745 /regex/replace-optimized/503 517s ok 746 /regex/replace-optimized/504 517s ok 747 /regex/replace-optimized/505 517s ok 748 /regex/replace-optimized/506 517s ok 749 /regex/replace-optimized/507 517s ok 750 /regex/replace-optimized/508 517s ok 751 /regex/replace-optimized/509 517s # End of replace-optimized tests 517s # Start of replace-literally tests 517s ok 752 /regex/replace-literally/510 517s ok 753 /regex/replace-literally/511 517s ok 754 /regex/replace-literally/512 517s ok 755 /regex/replace-literally/513 517s ok 756 /regex/replace-literally/514 517s ok 757 /regex/replace-literally/515 517s ok 758 /regex/replace-literally/516 517s ok 759 /regex/replace-literally/517 517s ok 760 /regex/replace-literally/518 517s ok 761 /regex/replace-literally/519 517s ok 762 /regex/replace-literally/520 517s ok 763 /regex/replace-literally/521 517s ok 764 /regex/replace-literally/522 517s ok 765 /regex/replace-literally/523 517s ok 766 /regex/replace-literally/524 517s ok 767 /regex/replace-literally/525 517s ok 768 /regex/replace-literally/526 517s ok 769 /regex/replace-literally/527 517s ok 770 /regex/replace-literally/528 517s ok 771 /regex/replace-literally/529 517s # End of replace-literally tests 517s # Start of string-number tests 517s ok 772 /regex/string-number/530 517s ok 773 /regex/string-number/531 517s ok 774 /regex/string-number/532 517s ok 775 /regex/string-number/533 517s ok 776 /regex/string-number/534 517s ok 777 /regex/string-number/535 517s ok 778 /regex/string-number/536 517s ok 779 /regex/string-number/537 517s ok 780 /regex/string-number/538 517s ok 781 /regex/string-number/539 517s ok 782 /regex/string-number/540 517s ok 783 /regex/string-number/541 517s ok 784 /regex/string-number/542 517s ok 785 /regex/string-number/543 517s ok 786 /regex/string-number/544 517s # End of string-number tests 517s # Start of escape_nul tests 517s ok 787 /regex/escape_nul/545 517s ok 788 /regex/escape_nul/546 517s ok 789 /regex/escape_nul/547 517s ok 790 /regex/escape_nul/548 517s ok 791 /regex/escape_nul/549 517s ok 792 /regex/escape_nul/550 517s ok 793 /regex/escape_nul/551 517s ok 794 /regex/escape_nul/552 517s ok 795 /regex/escape_nul/553 517s ok 796 /regex/escape_nul/554 517s ok 797 /regex/escape_nul/555 517s ok 798 /regex/escape_nul/556 517s ok 799 /regex/escape_nul/557 517s ok 800 /regex/escape_nul/558 517s ok 801 /regex/escape_nul/559 517s # End of escape_nul tests 517s # Start of escape tests 517s ok 802 /regex/escape/560 517s ok 803 /regex/escape/561 517s ok 804 /regex/escape/562 517s ok 805 /regex/escape/563 517s ok 806 /regex/escape/564 517s ok 807 /regex/escape/565 517s ok 808 /regex/escape/566 517s ok 809 /regex/escape/567 517s ok 810 /regex/escape/568 517s ok 811 /regex/escape/569 517s ok 812 /regex/escape/570 517s ok 813 /regex/escape/571 517s ok 814 /regex/escape/572 517s ok 815 /regex/escape/573 517s ok 816 /regex/escape/574 517s ok 817 /regex/escape/575 517s ok 818 /regex/escape/576 517s ok 819 /regex/escape/577 517s # End of escape tests 517s # Start of match-all0 tests 517s ok 820 /regex/match-all0/578 517s ok 821 /regex/match-all0/580 517s # End of match-all0 tests 517s # Start of match-all-full0 tests 517s ok 822 /regex/match-all-full0/579 517s ok 823 /regex/match-all-full0/581 517s ok 824 /regex/match-all-full0/582 517s ok 825 /regex/match-all-full0/583 517s # End of match-all-full0 tests 517s # Start of match-all1 tests 517s ok 826 /regex/match-all1/584 517s ok 827 /regex/match-all1/586 517s ok 828 /regex/match-all1/591 517s # End of match-all1 tests 517s # Start of match-all-full1 tests 517s ok 829 /regex/match-all-full1/585 517s ok 830 /regex/match-all-full1/587 517s ok 831 /regex/match-all-full1/588 517s ok 832 /regex/match-all-full1/589 517s ok 833 /regex/match-all-full1/590 517s ok 834 /regex/match-all-full1/592 517s # End of match-all-full1 tests 517s # Start of match-all2 tests 517s ok 835 /regex/match-all2/593 517s ok 836 /regex/match-all2/595 517s ok 837 /regex/match-all2/597 517s # End of match-all2 tests 517s # Start of match-all-full2 tests 517s ok 838 /regex/match-all-full2/594 517s ok 839 /regex/match-all-full2/596 517s ok 840 /regex/match-all-full2/598 517s # End of match-all-full2 tests 517s # Start of match-all3 tests 517s ok 841 /regex/match-all3/599 517s ok 842 /regex/match-all3/601 517s # End of match-all3 tests 517s # Start of match-all-full3 tests 517s ok 843 /regex/match-all-full3/600 517s ok 844 /regex/match-all-full3/602 517s # End of match-all-full3 tests 517s # Start of match-notempty tests 517s ok 845 /regex/match-notempty/603 517s # End of match-notempty tests 517s # Start of match-notempty-optimized tests 517s ok 846 /regex/match-notempty-optimized/603 517s # End of match-notempty-optimized tests 517s # Start of match-notempty-atstart tests 517s ok 847 /regex/match-notempty-atstart/604 517s # End of match-notempty-atstart tests 517s # Start of match-notempty-atstart-optimized tests 517s ok 848 /regex/match-notempty-atstart-optimized/604 517s # End of match-notempty-atstart-optimized tests 517s # End of regex tests 517s ok - glib/regex.test 517s # Running test: glib/data-output-stream.test 517s TAP version 14 517s # random seed: R02S0007ac90cefc2440fb0082c80b7786ab 517s 1..7 517s # Start of data-output-stream tests 517s ok 1 /data-output-stream/basic 517s ok 2 /data-output-stream/write-lines-LF 517s ok 3 /data-output-stream/write-lines-CR 517s ok 4 /data-output-stream/write-lines-CR-LF 517s ok 5 /data-output-stream/write-int 517s ok 6 /data-output-stream/seek 517s ok 7 /data-output-stream/truncate 517s # End of data-output-stream tests 517s ok - glib/data-output-stream.test 517s # Running test: glib/mainloop.test 517s TAP version 14 517s # random seed: R02S813cab16ecdc0ea3e82fd4cfa4df8c08 517s 1..45 517s # Start of maincontext tests 517s ok 1 /maincontext/basic 517s # Add same-priority sources: 17 517s # Find each source: 1 517s # Remove in random order: 24 517s ok 2 /maincontext/nsources_same_priority 517s # Add different-priority sources: 17 517s # Find each source: 1 517s # Remove in random order: 29 517s ok 3 /maincontext/nsources_different_priority 518s # Add sources from threads: 194 518s # Remove sources from threads: 89 518s ok 4 /maincontext/nsources_threadpool 518s ok 5 /maincontext/source_finalization 518s # /maincontext/idle-once summary: Test g_idle_add_once() works 518s ok 6 /maincontext/idle-once 518s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 518s ok 7 /maincontext/timeout-once 518s # Start of source_finalization_from_source tests 518s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 8 /maincontext/source_finalization_from_source/0 518s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 9 /maincontext/source_finalization_from_source/1 518s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 10 /maincontext/source_finalization_from_source/2 518s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 11 /maincontext/source_finalization_from_source/3 518s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 12 /maincontext/source_finalization_from_source/4 518s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 13 /maincontext/source_finalization_from_source/5 518s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 14 /maincontext/source_finalization_from_source/6 518s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 15 /maincontext/source_finalization_from_source/7 518s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 16 /maincontext/source_finalization_from_source/8 518s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 518s ok 17 /maincontext/source_finalization_from_source/9 518s # End of source_finalization_from_source tests 518s # Start of source_finalization_from_dispatch tests 518s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 518s ok 18 /maincontext/source_finalization_from_dispatch/0 518s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 518s ok 19 /maincontext/source_finalization_from_dispatch/1 518s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 518s ok 20 /maincontext/source_finalization_from_dispatch/2 518s # End of source_finalization_from_dispatch tests 518s # End of maincontext tests 518s # Start of mainloop tests 518s ok 21 /mainloop/basic 518s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 518s ok 23 /mainloop/priorities 518s ok 24 /mainloop/invoke 518s # slow test /mainloop/invoke executed in 0.50 secs 519s ok 25 /mainloop/child_sources 519s # slow test /mainloop/child_sources executed in 1.21 secs 522s ok 26 /mainloop/recursive_child_sources 522s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 522s ok 27 /mainloop/recursive_loop_child_sources 522s ok 28 /mainloop/swapping_child_sources 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 522s ok 29 /mainloop/blocked_child_sources 522s # Executing: glib/mainloop.test 523s ok 30 /mainloop/source_time 523s # slow test /mainloop/source_time executed in 1.00 secs 523s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 523s ok 31 /mainloop/overflow 523s ok 32 /mainloop/ready-time 523s # slow test /mainloop/ready-time executed in 0.50 secs 523s ok 33 /mainloop/wakeup 523s ok 34 /mainloop/remove-invalid 523s ok 35 /mainloop/unref-while-pending 524s ok 36 /mainloop/unix-fd 524s # slow test /mainloop/unix-fd executed in 0.87 secs 524s ok 37 /mainloop/unix-fd-source 524s ok 38 /mainloop/source-unix-fd-api 524s ok 39 /mainloop/wait 524s ok 40 /mainloop/unix-file-poll 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 524s ok 41 /mainloop/unix-fd-priority 524s ok 42 /mainloop/nfds 524s ok 43 /mainloop/steal-fd 524s # Start of ownerless-polling tests 524s ok 44 /mainloop/ownerless-polling/attach-first 524s ok 45 /mainloop/ownerless-polling/pop-first 524s # End of ownerless-polling tests 524s # End of mainloop tests 524s ok - glib/mainloop.test 524s # Running test: glib/cxx-98.test 524s TAP version 14 524s # random seed: R02Se5d747d759edb45ba2af66ed18dd86b1 524s 1..2 524s # Start of gtask tests 524s # 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. 524s ok 1 /gtask/name 524s # Start of name tests 524s # 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. 524s ok 2 /gtask/name/macro-wrapper 524s # End of name tests 524s # End of gtask tests 524s ok - glib/cxx-98.test 524s # Running test: glib/volumemonitor.test 524s TAP version 14 524s # random seed: R02Scd4a5806eccb55ada4000d45e14d18d6 524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 524s 1..3 524s # Start of volumemonitor tests 524s ok 1 /volumemonitor/connected_drives 524s ok 2 /volumemonitor/volumes 524s ok 3 /volumemonitor/mounts 524s # End of volumemonitor tests 524s ok - glib/volumemonitor.test 524s # Running test: glib/hmac.test 524s TAP version 14 524s # random seed: R02S5d28438ec3c916049df8533c32de60c3 524s 1..37 524s # Start of hmac tests 524s ok 1 /hmac/sha1-1 524s ok 2 /hmac/sha1-2 524s ok 3 /hmac/sha1-3 524s ok 4 /hmac/sha1-4 524s ok 5 /hmac/sha1-5 524s ok 6 /hmac/sha1-6 524s ok 7 /hmac/sha1-7 524s ok 8 /hmac/sha256-1 524s ok 9 /hmac/sha256-2 524s ok 10 /hmac/sha256-3 524s ok 11 /hmac/sha256-4 524s ok 12 /hmac/sha256-5 524s ok 13 /hmac/sha256-6 524s ok 14 /hmac/sha384-1 524s ok 15 /hmac/sha384-2 524s ok 16 /hmac/sha384-3 524s ok 17 /hmac/sha384-4 524s ok 18 /hmac/sha384-5 524s ok 19 /hmac/sha384-6 524s ok 20 /hmac/sha512-1 524s ok 21 /hmac/sha512-2 524s ok 22 /hmac/sha512-3 524s ok 23 /hmac/sha512-4 524s ok 24 /hmac/sha512-5 524s ok 25 /hmac/sha512-6 524s ok 26 /hmac/md5-1 524s ok 27 /hmac/md5-2 524s ok 28 /hmac/md5-3 524s ok 29 /hmac/md5-4 524s ok 30 /hmac/md5-5 524s ok 31 /hmac/md5-6 524s ok 32 /hmac/md5-7 524s ok 33 /hmac/ref-unref 524s ok 34 /hmac/copy 524s ok 35 /hmac/for-data 524s ok 36 /hmac/for-string 524s ok 37 /hmac/for-bytes 524s # End of hmac tests 524s ok - glib/hmac.test 524s # Running test: glib/unix-fd.test 524s TAP version 14 524s # random seed: R02Sf17cd4f097a605007e853d3d06a3bdd2 524s 1..2 524s # Start of unix-fd tests 524s ok 1 /unix-fd/fd-list 524s ok 2 /unix-fd/scm 524s # End of unix-fd tests 524s ok - glib/unix-fd.test 524s # Running test: glib/utils-c-99.test 524s TAP version 14 524s # random seed: R02S877a3621ce41b45a4f47f76f9a36e049 524s 1..40 524s # Start of utils tests 524s ok 1 /utils/language-names 524s ok 2 /utils/locale-variants 524s ok 3 /utils/version 524s ok 4 /utils/appname 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 524s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 524s ok 5 /utils/prgname-thread-safety 524s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 524s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 524s ok 6 /utils/tmpdir 524s ok 7 /utils/basic_bits 524s ok 8 /utils/bits 524s ok 9 /utils/swap 524s ok 10 /utils/find-program 524s ok 11 /utils/find-program-for-path 524s ok 12 /utils/debug 524s ok 13 /utils/codeset 524s ok 14 /utils/codeset2 524s ok 15 /utils/console-charset 524s ok 16 /utils/gettext 524s ok 17 /utils/username 524s ok 18 /utils/realname 524s ok 19 /utils/hostname 524s ok 20 /utils/xdgdirs 524s ok 21 /utils/specialdir 524s # NAME: Ubuntu 524s ok 22 /utils/os-info 524s ok 23 /utils/clear-pointer 524s ok 24 /utils/clear-pointer-cast 524s ok 25 /utils/take-pointer 524s ok 26 /utils/clear-source 524s ok 27 /utils/misc-mem 524s # /utils/aligned-mem summary: Aligned memory allocator 524s # Alignment must not be zero 524s # Alignment must be a power of two 524s # Alignment must be a multiple of sizeof(void*) 524s ok 28 /utils/aligned-mem 524s # /utils/free-sized summary: Check that g_free_sized() works 524s ok 29 /utils/free-sized 524s ok 30 /utils/nullify 524s ok 31 /utils/atexit 524s ok 32 /utils/check-setuid 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 524s ok 33 /utils/int-limits 524s ok 34 /utils/clear-list 524s ok 35 /utils/clear-slist 524s # Start of specialdir tests 524s ok 36 /utils/specialdir/desktop 524s # End of specialdir tests 524s # Start of clear-pointer tests 524s ok 37 /utils/clear-pointer/side-effects 524s # End of clear-pointer tests 524s # Start of aligned-mem tests 524s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 524s ok 38 /utils/aligned-mem/alignment 524s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 524s ok 39 /utils/aligned-mem/zeroed 524s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 524s ok 40 /utils/aligned-mem/free-sized 524s # Start of subprocess tests 524s # End of subprocess tests 524s # End of aligned-mem tests 524s # End of utils tests 524s ok - glib/utils-c-99.test 524s # Running test: glib/charset.test 524s TAP version 14 524s # random seed: R02Se57d257707c40e3a0768ef4d5746a4b1 524s 1..2 524s # Start of charset tests 524s # Test 0 524s # Test 1 524s # Test 2 524s # Test 3 524s ok 1 /charset/language_names_with_category 524s ok 2 /charset/language_names_with_category_async 524s # End of charset tests 524s ok - glib/charset.test 524s # Running test: glib/object.test 524s TAP version 14 524s # random seed: R02Se5edc8ea74bacbd11cf0cc198beba87b 524s 1..2 524s # Start of object tests 524s # Start of constructor tests 524s ok 1 /object/constructor/singleton 524s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 524s # End of constructor tests 524s # End of object tests 524s ok - glib/object.test 524s # Running test: glib/atomic-c-17.test 524s TAP version 14 524s # random seed: R02Sd48dbe80bbcb4a2e790fa6ce70a2112f 524s 1..2 524s # Start of atomic tests 524s ok 1 /atomic/types 524s ok 2 /atomic/threaded 524s # End of atomic tests 524s ok - glib/atomic-c-17.test 524s # Running test: glib/gdbus-connection-slow.test 524s TAP version 14 524s # random seed: R02S0edc1f0e67d23d0f3164d1f4691ace39 524s 1..2 524s # Start of gdbus tests 524s # Start of connection tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/flush/.dirs/runtime 524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s ok 1 /gdbus/connection/flush 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FAHEX2/gdbus/connection/large_message/.dirs/runtime 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 525s ok 2 /gdbus/connection/large_message 525s # slow test /gdbus/connection/large_message executed in 0.50 secs 525s # End of connection tests 525s # End of gdbus tests 525s ok - glib/gdbus-connection-slow.test 525s # Running test: glib/dynamictype.test 525s TAP version 14 525s # random seed: R02S5c244a8faf4f44354c2cdaf6beaa93f3 525s 1..2 525s # Start of gobject tests 525s ok 1 /gobject/dynamic-type 525s # Start of dynamic-type tests 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 525s ok 2 /gobject/dynamic-type/query 525s # End of dynamic-type tests 525s # End of gobject tests 525s ok - glib/dynamictype.test 525s # Running test: glib/repository.test 525s TAP version 14 525s # random seed: R02Sfe1162c361e01c85d9974cfd60781765 525s 1..23 525s # Start of repository tests 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/basic/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/basic/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/basic/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/basic/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/basic/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/basic/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/basic/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/basic/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/basic/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/basic/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 525s ok 1 /repository/basic 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/info/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/info/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/info/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/info/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/info/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/info/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/info/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/info/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/info/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/info/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/info summary: Test retrieving some basic info blobs from a typelib 525s ok 2 /repository/info 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/dependencies/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/dependencies/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/dependencies/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 525s ok 3 /repository/dependencies 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/arg-info/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/arg-info/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/arg-info/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 525s ok 4 /repository/arg-info 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/callable-info/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/callable-info/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/callable-info/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 525s ok 5 /repository/callable-info 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/callback-info/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/callback-info/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/callback-info/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 525s ok 6 /repository/callback-info 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/char-types/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/char-types/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/char-types/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 525s ok 7 /repository/char-types 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/constructor-return-type/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 525s ok 8 /repository/constructor-return-type 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/enum-info-c-identifier/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 525s ok 9 /repository/enum-info-c-identifier 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/enum-info-static-methods/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/enum-info-static-methods summary: Test an enum with methods 525s ok 10 /repository/enum-info-static-methods 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/error-quark/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/error-quark/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/error-quark/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/error-quark summary: Test finding an error quark by error domain 525s ok 11 /repository/error-quark 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/flags-info-c-identifier/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 525s ok 12 /repository/flags-info-c-identifier 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/fundamental-ref-func/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 525s ok 13 /repository/fundamental-ref-func 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/instance-method-ownership-transfer/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 525s ok 14 /repository/instance-method-ownership-transfer 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/object-gtype-interfaces/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 525s ok 15 /repository/object-gtype-interfaces 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/signal-info-with-array-length-arg/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 525s ok 16 /repository/signal-info-with-array-length-arg 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/type-info-name/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 525s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 525s ok 17 /repository/type-info-name 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 525s ok 18 /repository/vfunc-info-with-no-invoker 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 525s ok 19 /repository/vfunc-info-with-invoker-on-interface 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 525s ok 20 /repository/vfunc-info-with-invoker-on-object 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/find-by-gtype/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/find-by-gtype summary: Test finding a GType 525s ok 21 /repository/find-by-gtype 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/loaded-namespaces/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/loaded-namespaces summary: Test listing loaded namespaces 525s ok 22 /repository/loaded-namespaces 525s # Start of base-info tests 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_U0UIX2/repository/base-info/clear/.dirs/runtime 525s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 525s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 525s ok 23 /repository/base-info/clear 525s # End of base-info tests 525s # End of repository tests 525s ok - glib/repository.test 525s # Running test: glib/contexts.test 525s TAP version 14 525s # random seed: R02Sbb13648a563e21ba0b1eff1a1797c2b6 525s 1..5 525s # Start of gio tests 525s # Start of contexts tests 525s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 525s ok 1 /gio/contexts/thread-independence 525s ok 2 /gio/contexts/context-independence 525s # Start of context-specific tests 525s ok 3 /gio/contexts/context-specific/identity 525s ok 4 /gio/contexts/context-specific/emit 525s ok 5 /gio/contexts/context-specific/emit-and-unref 525s # End of context-specific tests 525s # End of contexts tests 525s # End of gio tests 525s ok - glib/contexts.test 525s # Running test: glib/refstring.test 525s TAP version 14 525s # random seed: R02Seaf9a696690e76ef86863386c94da741 525s 1..5 525s # Start of refstring tests 525s # s = 'hello, world' (0x580c073785d0) 525s ok 1 /refstring/base 525s ok 2 /refstring/length 525s ok 3 /refstring/length-auto 525s ok 4 /refstring/length-nuls 525s # s = 'hello, world' (0x580c073785d0) 525s # p = s = 'hello, world' (0x580c073785d0) 525s # releasing p[0x580c073785d0] ('hello, world') 525s # p = 'goodbye, world' (0x580c073786a0) 525s # releasing p[0x580c073786a0] ('goodbye, world') 525s # releasing s[0x580c073785d0] ('hello, world') 525s ok 5 /refstring/intern 525s # End of refstring tests 525s ok - glib/refstring.test 525s # Running test: glib/bitlock.test 525s TAP version 14 525s # random seed: R02Sc5891691a7e1efe4a1849d2287c1157c 525s 1..1 525s # Start of bitlock tests 525s # Start of performance tests 525s # max perf: iterations per second 525s ok 1 /bitlock/performance/uncontended 525s # End of performance tests 525s # End of bitlock tests 525s ok - glib/bitlock.test 525s # Running test: glib/power-profile-monitor-portal.test 526s TAP version 13 526s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 526s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 526s 1..2 526s ok - glib/power-profile-monitor-portal.test 526s # Running test: glib/union-info.test 526s TAP version 14 526s # random seed: R02Sdbbd56252863dceb78568fc878d2e9dd 526s 1..2 526s # Start of union-info tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_ILK1W2/union-info/basic/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_ILK1W2/union-info/basic/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ILK1W2/union-info/basic/.dirs/runtime 526s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 526s # /union-info/basic summary: Test basic properties of GIUnionInfo 526s ok 1 /union-info/basic 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_ILK1W2/union-info/methods/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_ILK1W2/union-info/methods/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ILK1W2/union-info/methods/.dirs/runtime 526s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 526s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 526s ok 2 /union-info/methods 526s # End of union-info tests 526s ok - glib/union-info.test 526s # Running test: glib/types.test 526s TAP version 14 526s # random seed: R02Sb5bf9aa84ef7a92a58e1c7d99923d1c2 526s 1..1 526s # Start of types tests 526s ok 1 /types/basic_types 526s # End of types tests 526s ok - glib/types.test 526s # Running test: glib/atomic.test 526s TAP version 14 526s # random seed: R02S040c38e7a989d64312a8d18747864f92 526s 1..2 526s # Start of atomic tests 526s ok 1 /atomic/types 526s ok 2 /atomic/threaded 526s # End of atomic tests 526s ok - glib/atomic.test 526s # Running test: glib/cxx-11.test 526s TAP version 14 526s # random seed: R02Sd48c783fb70712099a6e0bf412172ee2 526s 1..2 526s # Start of gtask tests 526s # 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. 526s ok 1 /gtask/name 526s # Start of name tests 526s # 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. 526s ok 2 /gtask/name/macro-wrapper 526s # End of name tests 526s # End of gtask tests 526s ok - glib/cxx-11.test 526s # Running test: glib/utils.test 526s TAP version 14 526s # random seed: R02S425f48badb882cdbd824f97ade1ef1c6 526s 1..40 526s # Start of utils tests 526s ok 1 /utils/language-names 526s ok 2 /utils/locale-variants 526s ok 3 /utils/version 526s ok 4 /utils/appname 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 526s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 526s ok 5 /utils/prgname-thread-safety 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 526s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 526s ok 6 /utils/tmpdir 526s ok 7 /utils/basic_bits 526s ok 8 /utils/bits 526s ok 9 /utils/swap 526s ok 10 /utils/find-program 526s ok 11 /utils/find-program-for-path 526s ok 12 /utils/debug 526s ok 13 /utils/codeset 526s ok 14 /utils/codeset2 526s ok 15 /utils/console-charset 526s ok 16 /utils/gettext 526s ok 17 /utils/username 526s ok 18 /utils/realname 526s ok 19 /utils/hostname 526s ok 20 /utils/xdgdirs 526s ok 21 /utils/specialdir 526s # NAME: Ubuntu 526s ok 22 /utils/os-info 526s ok 23 /utils/clear-pointer 526s ok 24 /utils/clear-pointer-cast 526s ok 25 /utils/take-pointer 526s ok 26 /utils/clear-source 526s ok 27 /utils/misc-mem 526s # /utils/aligned-mem summary: Aligned memory allocator 526s # Alignment must not be zero 526s # Alignment must be a power of two 526s # Alignment must be a multiple of sizeof(void*) 526s ok 28 /utils/aligned-mem 526s # /utils/free-sized summary: Check that g_free_sized() works 526s ok 29 /utils/free-sized 526s ok 30 /utils/nullify 526s ok 31 /utils/atexit 526s ok 32 /utils/check-setuid 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 526s ok 33 /utils/int-limits 526s ok 34 /utils/clear-list 526s ok 35 /utils/clear-slist 526s # Start of specialdir tests 526s ok 36 /utils/specialdir/desktop 526s # End of specialdir tests 526s # Start of clear-pointer tests 526s ok 37 /utils/clear-pointer/side-effects 526s # End of clear-pointer tests 526s # Start of aligned-mem tests 526s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 526s ok 38 /utils/aligned-mem/alignment 526s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 526s ok 39 /utils/aligned-mem/zeroed 526s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 526s ok 40 /utils/aligned-mem/free-sized 526s # Start of subprocess tests 526s # End of subprocess tests 526s # End of aligned-mem tests 526s # End of utils tests 526s ok - glib/utils.test 526s # Running test: glib/portal-support-env-var.test 526s TAP version 14 526s # random seed: R02S6bf0ddb2cf7b8df33bad68bfdc78dd64 526s 1..1 526s # Start of portal-support tests 526s ok 1 /portal-support/env-var 526s # End of portal-support tests 526s ok - glib/portal-support-env-var.test 526s # Running test: glib/gdbus-introspection.test 526s TAP version 14 526s # random seed: R02S6fefb44dbe9dacd3d5e47ec71de21dfa 526s 1..4 526s # Start of gdbus tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-parser/.dirs/runtime 526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 526s ok 1 /gdbus/introspection-parser 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-generate/.dirs/runtime 526s ok 2 /gdbus/introspection-generate 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-default-direction/.dirs/runtime 526s ok 3 /gdbus/introspection-default-direction 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3OB5W2/gdbus/introspection-extra-data/.dirs/runtime 526s ok 4 /gdbus/introspection-extra-data 526s # End of gdbus tests 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 526s ok - glib/gdbus-introspection.test 526s # Running test: glib/date.test 526s TAP version 14 526s # random seed: R02S2f38042d308b36fd526c125540cb3e41 526s 1..121 526s # Start of date tests 526s ok 1 /date/basic 526s ok 2 /date/empty 526s ok 3 /date/dmy 526s ok 4 /date/julian 526s ok 5 /date/compare 526s ok 6 /date/dates 526s ok 7 /date/strftime 526s ok 8 /date/two-digit-years 526s ok 9 /date/parse 526s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 526s ok 11 /date/month_substring 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 526s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 526s ok 13 /date/clamp 526s ok 14 /date/order 526s ok 15 /date/copy 526s # Vector 0: 0000-00-00, invalid 526s # Vector 1: 0001-01-01, valid 526s # Vector 2: 0000-01-01, invalid 526s # Vector 3: 2000-02-30, invalid 526s # Vector 4: 2000-02-29, valid 526s # Vector 5: 2001-02-29, invalid 526s # Vector 6: 65535-01-01, valid 526s ok 16 /date/valid-dmy 526s # Start of parse tests 526s # Test 0 526s # Test 1 526s ok 17 /date/parse/invalid 526s # End of parse tests 526s # Start of year tests 526s ok 18 /date/year/1 526s ok 19 /date/year/2 526s ok 20 /date/year/3 526s ok 21 /date/year/4 526s ok 22 /date/year/5 526s ok 23 /date/year/6 526s ok 24 /date/year/7 526s ok 25 /date/year/8 526s ok 26 /date/year/9 526s ok 27 /date/year/10 526s ok 28 /date/year/11 526s ok 29 /date/year/12 526s ok 30 /date/year/13 526s ok 31 /date/year/14 526s ok 32 /date/year/98 526s ok 33 /date/year/99 526s ok 34 /date/year/100 526s ok 35 /date/year/101 526s ok 36 /date/year/102 526s ok 37 /date/year/103 526s ok 38 /date/year/397 526s ok 39 /date/year/398 526s ok 40 /date/year/399 526s ok 41 /date/year/400 526s ok 42 /date/year/401 526s ok 43 /date/year/402 526s ok 44 /date/year/403 526s ok 45 /date/year/404 526s ok 46 /date/year/405 526s ok 47 /date/year/406 526s ok 48 /date/year/1598 526s ok 49 /date/year/1599 526s ok 50 /date/year/1600 526s ok 51 /date/year/1601 526s ok 52 /date/year/1602 526s ok 53 /date/year/1650 526s ok 54 /date/year/1651 526s ok 55 /date/year/1897 526s ok 56 /date/year/1898 526s ok 57 /date/year/1899 526s ok 58 /date/year/1900 526s ok 59 /date/year/1901 526s ok 60 /date/year/1902 526s ok 61 /date/year/1903 526s ok 62 /date/year/1961 526s ok 63 /date/year/1962 526s ok 64 /date/year/1963 526s ok 65 /date/year/1964 526s ok 66 /date/year/1965 526s ok 67 /date/year/1967 526s ok 68 /date/year/1968 526s ok 69 /date/year/1969 526s ok 70 /date/year/1970 526s ok 71 /date/year/1971 526s ok 72 /date/year/1972 526s ok 73 /date/year/1973 526s ok 74 /date/year/1974 526s ok 75 /date/year/1975 526s ok 76 /date/year/1976 526s ok 77 /date/year/1977 526s ok 78 /date/year/1978 526s ok 79 /date/year/1979 526s ok 80 /date/year/1980 526s ok 81 /date/year/1981 526s ok 82 /date/year/1982 526s ok 83 /date/year/1983 526s ok 84 /date/year/1984 526s ok 85 /date/year/1985 526s ok 86 /date/year/1986 526s ok 87 /date/year/1987 526s ok 88 /date/year/1988 526s ok 89 /date/year/1989 526s ok 90 /date/year/1990 526s ok 91 /date/year/1991 526s ok 92 /date/year/1992 526s ok 93 /date/year/1993 526s ok 94 /date/year/1994 526s ok 95 /date/year/1995 526s ok 96 /date/year/1996 526s ok 97 /date/year/1997 526s ok 98 /date/year/1998 526s ok 99 /date/year/1999 526s ok 100 /date/year/2000 526s ok 101 /date/year/2001 526s ok 102 /date/year/2002 526s ok 103 /date/year/2003 526s ok 104 /date/year/2004 526s ok 105 /date/year/2005 526s ok 106 /date/year/2006 526s ok 107 /date/year/2007 526s ok 108 /date/year/2008 526s ok 109 /date/year/2009 526s ok 110 /date/year/2010 526s ok 111 /date/year/2011 526s ok 112 /date/year/2012 526s ok 113 /date/year/3000 526s ok 114 /date/year/3001 526s ok 115 /date/year/3002 526s ok 116 /date/year/3998 526s ok 117 /date/year/3999 526s ok 118 /date/year/4000 526s ok 119 /date/year/4001 526s ok 120 /date/year/4002 526s ok 121 /date/year/4003 526s # End of year tests 526s # End of date tests 526s ok - glib/date.test 526s # Running test: glib/tls-bindings.test 526s TAP version 14 526s # random seed: R02Safe5db8baddc93c001eaaba3fa7415c5 526s 1..2 526s # Start of tls-connection tests 526s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 526s ok 1 /tls-connection/get-tls-channel-binding 526s ok 2 /tls-connection/get-dtls-channel-binding 526s # End of tls-connection tests 526s ok - glib/tls-bindings.test 526s # Running test: glib/fileutils.test 526s TAP version 14 526s # random seed: R02S9db604a03f1831f7b79a805f3b1fd59d 526s 1..27 526s # Start of fileutils tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/paths/.dirs/runtime 526s ok 1 /fileutils/paths 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/build-path/.dirs/runtime 526s ok 2 /fileutils/build-path 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/build-pathv/.dirs/runtime 526s ok 3 /fileutils/build-pathv 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/build-filename/.dirs/runtime 526s ok 4 /fileutils/build-filename 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/build-filenamev/.dirs/runtime 526s ok 5 /fileutils/build-filenamev 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents/.dirs/runtime 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s ok 6 /fileutils/mkdir-with-parents 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/mkdir-with-parents-permission/.dirs/runtime 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s ok 7 /fileutils/mkdir-with-parents-permission 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/format-size-for-display/.dirs/runtime 526s ok 8 /fileutils/format-size-for-display 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/errors/.dirs/runtime 526s ok 9 /fileutils/errors 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/basename/.dirs/runtime 526s ok 10 /fileutils/basename 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/get-basename/.dirs/runtime 526s ok 11 /fileutils/get-basename 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/dirname/.dirs/runtime 526s ok 12 /fileutils/dirname 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/dir-make-tmp/.dirs/runtime 526s ok 13 /fileutils/dir-make-tmp 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/file-open-tmp/.dirs/runtime 526s ok 14 /fileutils/file-open-tmp 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/file-test/.dirs/runtime 526s ok 15 /fileutils/file-test 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/mkstemp/.dirs/runtime 526s ok 16 /fileutils/mkstemp 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/mkdtemp/.dirs/runtime 526s ok 17 /fileutils/mkdtemp 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/get-contents/.dirs/runtime 526s ok 18 /fileutils/get-contents 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/get-contents-large-file/.dirs/runtime 526s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/set-contents/.dirs/runtime 526s ok 20 /fileutils/set-contents 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/.dirs/runtime 526s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 526s # Flags 0 and test 0 526s # Flags 0 and test 1 526s # Flags 0 and test 2 526s # Flags 0 and test 3 526s # Flags 0 and test 4 526s # Flags 0 and test 5 526s # Flags 1 and test 0 526s # Flags 1 and test 1 526s # Flags 1 and test 2 526s # Flags 1 and test 3 526s # Flags 1 and test 4 526s # Flags 1 and test 5 526s # Flags 2 and test 0 526s # Flags 2 and test 1 526s # Flags 2 and test 2 526s # Flags 2 and test 3 526s # Flags 2 and test 4 526s # Flags 2 and test 5 526s # Flags 3 and test 0 526s # Flags 3 and test 1 526s # Flags 3 and test 2 526s # Flags 3 and test 3 526s # Flags 3 and test 4 526s # Flags 3 and test 5 526s # Flags 4 and test 0 526s # Flags 4 and test 1 526s # Flags 4 and test 2 526s # Flags 4 and test 3 526s # Flags 4 and test 4 526s # Flags 4 and test 5 526s # Flags 5 and test 0 526s # Flags 5 and test 1 526s # Flags 5 and test 2 526s # Flags 5 and test 3 526s # Flags 5 and test 4 526s # Flags 5 and test 5 526s # Flags 6 and test 0 526s # Flags 6 and test 1 526s # Flags 6 and test 2 526s # Flags 6 and test 3 526s # Flags 6 and test 4 526s # Flags 6 and test 5 526s ok 21 /fileutils/set-contents-full 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/read-link/.dirs/runtime 526s ok 22 /fileutils/read-link 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/stdio-wrappers/.dirs/runtime 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s ok 23 /fileutils/stdio-wrappers 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/fopen-modes/.dirs/runtime 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 526s # Testing fopen() mode 'w' 526s # Testing fopen() mode 'r' 526s # Testing fopen() mode 'a' 526s # Testing fopen() mode 'w+' 526s # Testing fopen() mode 'r+' 526s # Testing fopen() mode 'a+' 526s # Testing fopen() mode 'wb' 526s # Testing fopen() mode 'rb' 526s # Testing fopen() mode 'ab' 526s # Testing fopen() mode 'w+b' 526s # Testing fopen() mode 'r+b' 526s # Testing fopen() mode 'a+b' 526s # Testing fopen() mode 'wb+' 526s # Testing fopen() mode 'rb+' 526s # Testing fopen() mode 'ab+' 526s ok 24 /fileutils/fopen-modes 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/clear-fd/.dirs/runtime 526s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 526s # Will be closed by autocleanup: 3, -42 526s # Testing error handling 526s ok 25 /fileutils/clear-fd 526s # Start of set-contents-full tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-file/.dirs/runtime 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 526s ok 26 /fileutils/set-contents-full/read-only-file 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0K0KX2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 526s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 526s # Flags 0 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 1 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 2 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 3 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 4 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 5 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s # Flags 6 526s # We do not have CAP_DAC_OVERRIDE or equivalent 526s ok 27 /fileutils/set-contents-full/read-only-directory 526s # End of set-contents-full tests 526s # Start of clear-fd tests 526s # Start of subprocess tests 526s # End of subprocess tests 526s # End of clear-fd tests 526s # End of fileutils tests 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-EZZBX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-HV3CX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-XH6CX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-LUWBX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-4Z7CX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-XX2CX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2/glib-file-set-contents-full-rodir-BGYBX2: Directory not empty 526s Unable to clean up temporary directory /tmp/test_fileutils_0K0KX2: Directory not empty 526s ok - glib/fileutils.test 526s # Running test: glib/portal-support-flatpak-network-only.test 526s TAP version 14 526s # random seed: R02Se98842113e4038e8e555ea17a97e4f45 526s 1..1 526s # Start of portal-support tests 526s # Start of flatpak tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/runtime 526s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_NL1CX2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 526s ok 1 /portal-support/flatpak/network 526s # End of flatpak tests 526s # End of portal-support tests 526s ok - glib/portal-support-flatpak-network-only.test 526s # Running test: glib/singleton.test 526s TAP version 14 526s # random seed: R02Sd6224366a2bb39de4913698d86399f63 526s 1..2 526s # Start of gobject tests 526s # Start of singleton tests 526s ok 1 /gobject/singleton/construction 526s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 526s ok 2 /gobject/singleton/construct-property 526s # End of singleton tests 526s # End of gobject tests 526s ok - glib/singleton.test 526s # Running test: glib/uri.test 526s TAP version 14 526s # random seed: R02Se0caafc04f50b3d570bef81aca3700e2 526s 1..24 526s # Start of uri tests 526s ok 1 /uri/file-to-uri 526s ok 2 /uri/file-from-uri 526s ok 3 /uri/file-roundtrip 526s ok 4 /uri/list 526s # Test 0: %2Babc %4F 526s # Test 1: %2Babc %4F 526s # Test 2: %00abc %4F 526s # Test 3: /cursors/none.png 526s # Test 4: /cursors%2fbad-subdir/none.png 526s # Test 5: %0 526s # Test 6: %ra 526s # Test 7: %2r 526s # Test 8: Timm B?der 526s # Test 9: (null) 526s ok 5 /uri/unescape-string 526s ok 6 /uri/unescape-segment 526s # Test 0: abcdefgABCDEFG._~ 526s # Test 1: :+ \\?# 526s # Test 2: a+b:c 526s # Test 3: a+b:c\303\234 526s # Test 4: \374;\322 526s # Test 5: \303\261\303( 526s ok 7 /uri/escape-string 526s ok 8 /uri/escape-bytes 526s ok 9 /uri/scheme 526s ok 10 /uri/build 526s ok 11 /uri/split 526s ok 12 /uri/is_valid 526s ok 13 /uri/to-string 526s ok 14 /uri/join 526s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 526s # Combination 0 526s # Combination 1 526s # Combination 2 526s # Combination 3 526s # Combination 4 526s # Combination 5 526s # Combination 6 526s # Combination 7 526s # Combination 8 526s # Combination 9 526s # Combination 10 526s # Combination 11 526s # Combination 12 526s # Combination 13 526s # Combination 14 526s # Combination 15 526s # Combination 16 526s # Combination 17 526s # Combination 18 526s # Combination 19 526s # Combination 20 526s # Combination 21 526s # Combination 22 526s # Combination 23 526s # Combination 24 526s # Combination 25 526s # Combination 26 526s # Combination 27 526s # Combination 28 526s # Combination 29 526s # Combination 30 526s # Combination 31 526s # Combination 32 526s # Combination 33 526s # Combination 34 526s # Combination 35 526s # Combination 36 526s # Combination 37 526s # Combination 38 526s # Combination 39 526s # Combination 40 526s # Combination 41 526s # Combination 42 526s # Combination 43 526s # Combination 44 526s # Combination 45 526s # Combination 46 526s # Combination 47 526s # Combination 48 526s # Combination 49 526s # Combination 50 526s # Combination 51 526s # Combination 52 526s # Combination 53 526s # Combination 54 526s # Combination 55 526s # Combination 56 526s # Combination 57 526s # Combination 58 526s # Combination 59 526s # Combination 60 526s # Combination 61 526s # Combination 62 526s # Combination 63 526s # Combination 64 526s # Combination 65 526s # Combination 66 526s # Combination 67 526s # Combination 68 526s # Combination 69 526s # Combination 70 526s # Combination 71 526s # Combination 72 526s # Combination 73 526s # Combination 74 526s # Combination 75 526s # Combination 76 526s # Combination 77 526s # Combination 78 526s # Combination 79 526s # Combination 80 526s # Combination 81 526s # Combination 82 526s # Combination 83 526s # Combination 84 526s # Combination 85 526s # Combination 86 526s # Combination 87 526s # Combination 88 526s # Combination 89 526s # Combination 90 526s # Combination 91 526s # Combination 92 526s # Combination 93 526s # Combination 94 526s # Combination 95 526s # Combination 96 526s # Combination 97 526s # Combination 98 526s # Combination 99 526s # Combination 100 526s # Combination 101 526s # Combination 102 526s # Combination 103 526s # Combination 104 526s # Combination 105 526s # Combination 106 526s # Combination 107 526s # Combination 108 526s # Combination 109 526s # Combination 110 526s # Combination 111 526s # Combination 112 526s # Combination 113 526s # Combination 114 526s # Combination 115 526s # Combination 116 526s # Combination 117 526s # Combination 118 526s # Combination 119 526s # Combination 120 526s # Combination 121 526s # Combination 122 526s # Combination 123 526s # Combination 124 526s # Combination 125 526s # Combination 126 526s # Combination 127 526s # Combination 128 526s # Combination 129 526s # Combination 130 526s # Combination 131 526s # Combination 132 526s # Combination 133 526s # Combination 134 526s # Combination 135 526s # Combination 136 526s # Combination 137 526s # Combination 138 526s # Combination 139 526s # Combination 140 526s # Combination 141 526s # Combination 142 526s # Combination 143 526s # Combination 144 526s # Combination 145 526s # Combination 146 526s # Combination 147 526s # Combination 148 526s # Combination 149 526s # Combination 150 526s # Combination 151 526s # Combination 152 526s # Combination 153 526s # Combination 154 526s # Combination 155 526s # Combination 156 526s # Combination 157 526s # Combination 158 526s # Combination 159 526s # Combination 160 526s # Combination 161 526s # Combination 162 526s # Combination 163 526s # Combination 164 526s # Combination 165 526s # Combination 166 526s # Combination 167 526s # Combination 168 526s # Combination 169 526s # Combination 170 526s # Combination 171 526s # Combination 172 526s # Combination 173 526s # Combination 174 526s # Combination 175 526s # Combination 176 526s # Combination 177 526s # Combination 178 526s # Combination 179 526s # Combination 180 526s # Combination 181 526s # Combination 182 526s # Combination 183 526s # Combination 184 526s # Combination 185 526s # Combination 186 526s # Combination 187 526s # Combination 188 526s # Combination 189 526s # Combination 190 526s # Combination 191 526s # Combination 192 526s # Combination 193 526s # Combination 194 526s # Combination 195 526s # Combination 196 526s # Combination 197 526s # Combination 198 526s # Combination 199 526s # Combination 200 526s # Combination 201 526s # Combination 202 526s # Combination 203 526s # Combination 204 526s # Combination 205 526s # Combination 206 526s # Combination 207 526s # Combination 208 526s # Combination 209 526s # Combination 210 526s # Combination 211 526s # Combination 212 526s # Combination 213 526s # Combination 214 526s # Combination 215 526s # Combination 216 526s # Combination 217 526s # Combination 218 526s # Combination 219 526s # Combination 220 526s # Combination 221 526s # Combination 222 526s # Combination 223 526s # Combination 224 526s # Combination 225 526s # Combination 226 526s # Combination 227 526s # Combination 228 526s # Combination 229 526s # Combination 230 526s # Combination 231 526s # Combination 232 526s # Combination 233 526s # Combination 234 526s # Combination 235 526s # Combination 236 526s # Combination 237 526s # Combination 238 526s # Combination 239 526s # Combination 240 526s # Combination 241 526s # Combination 242 526s # Combination 243 526s # Combination 244 526s # Combination 245 526s # Combination 246 526s # Combination 247 526s # Combination 248 526s # Combination 249 526s # Combination 250 526s # Combination 251 526s # Combination 252 526s # Combination 253 526s # Combination 254 526s # Combination 255 526s ok 15 /uri/join-split-round-trip 526s ok 16 /uri/normalize 526s # Start of unescape-bytes tests 526s # Test 0: %00%00 526s # Test 1: /cursors/none.png 526s # Test 2: /cursors%2fbad-subdir/none.png 526s # Test 3: %% 526s # Test 4: % 526s ok 17 /uri/unescape-bytes/nul-terminated 526s # Test 0: %00%00 526s # Test 1: /cursors/none.png 526s # Test 2: /cursors%2fbad-subdir/none.png 526s # Test 3: %% 526s # Test 4: % 526s ok 18 /uri/unescape-bytes/length 526s # End of unescape-bytes tests 526s # Start of parsing tests 526s # Test 0: foo: 526s # Test 1: file:/dev/null 526s # Test 2: file:///dev/null 526s # Test 3: ftp://user@host/path 526s # Test 4: ftp://user@host:9999/path 526s # Test 5: ftp://user:password@host/path 526s # Test 6: ftp://user:password@host:9999/path 526s # Test 7: ftp://user:password@host 526s # Test 8: http://us%65r@host 526s # Test 9: http://us%40r@host 526s # Test 10: http://us%3ar@host 526s # Test 11: http://us%2fr@host 526s # Test 12: http://us%3fr@host 526s # Test 13: http://host?query 526s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 526s # 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 526s # Test 16: http://space/%20 526s # Test 17: http://delims/%3C%3E%23%25%22 526s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 526s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 526s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 526s # Test 21: http://[3ffe:2a00:100:7031::1] 526s # Test 22: http://[1080::8:800:200C:417A]/foo 526s # Test 23: http://[::192.9.5.5]/ipng 526s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 526s # Test 25: http://[2010:836B:4179::836B:4179] 526s # Test 26: http://host/path with spaces 526s # Test 27: http://host/path 526s # Test 28: http://host/path 526s # Test 29: http://host 526s # Test 30: http://host:999 526s # Test 31: http://host/pa 526s # th 526s # Test 32: http: 526s # //host/path 526s # Test 33: http:// host/path 526s # Test 34: http://host/path? 526s # Test 35: http://host/path# 526s # Test 36: http://host/path% 526s # Test 37: http://h%ost/path 526s # Test 38: http://host/path%% 526s # Test 39: http://host/path%%% 526s # Test 40: http://host/path%/x/ 526s # Test 41: http://host/path%0x/ 526s # Test 42: http://host/path%ax 526s # Test 43: http://host/p?th/ 526s # Test 44: HTTP://////////////// 526s # Test 45: http://@host 526s # Test 46: http://:@host 526s # Test 47: scheme://foo%3Abar._webdav._tcp.local 526s # Test 48: http://example.com/.. 526s # Test 49: foo0://host/path 526s # Test 50: f0.o://host/path 526s # Test 51: http++://host/path 526s # Test 52: http-ish://host/path 526s # Test 53: http://[fe80::dead:beef%]/ 526s # Test 54: http://[fe80::dead:beef%em1]/ 526s # Test 55: http://[fe80::dead:beef%em1]/ 526s # Test 56: http://[fe80::dead:beef%25em1]/ 526s # Test 57: http://[fe80::dead:beef%25em1%20]/ 526s # Test 58: http://[fe80::dead:beef%25em%31]/ 526s # Test 59: http://[fe80::dead:beef%10]/ 526s # Test 60: http://[fe80::dead:beef%10]/ 526s # Test 61: http://[fe80::dead:beef%25]/ 526s # Test 62: http://[fe80::dead:beef%25]/ 526s # Test 63: http://[192.168.0.1%25em1]/ 526s # Test 64: http://[fe80::dead:beef%2em1]/ 526s # Test 65: http://[fe80::dead:beef%2em1]/ 526s # Test 66: http://[fe80::dead:beef%25em1%00]/ 526s # Test 67: http://[fe80::dead:beef%25em1%00]/ 526s # Test 68: http://xn--mixed-?p/ 526s ok 19 /uri/parsing/absolute 526s ok 20 /uri/parsing/relative 526s # End of parsing tests 526s # Start of iter-params tests 526s # URI 0: p1=foo&p2=bar;p3=baz 526s # URI 1: p1=foo&p2=bar 526s # URI 2: p1=foo&&P1=bar 526s # URI 3: %00=foo 526s # URI 4: p1=%00 526s # URI 5: p1=foo&p1=bar 526s # URI 6: p1=foo&P1=bar 526s # URI 7: =% 526s # URI 8: = 526s # URI 9: foo 526s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 526s ok 21 /uri/iter-params/nul-terminated 526s # URI 0: p1=foo&p2=bar;p3=baz 526s # URI 1: p1=foo&p2=bar 526s # URI 2: p1=foo&&P1=bar 526s # URI 3: %00=foo 526s # URI 4: p1=%00 526s # URI 5: p1=foo&p1=bar 526s # URI 6: p1=foo&P1=bar 526s # URI 7: =% 526s # URI 8: = 526s # URI 9: foo 526s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 526s ok 22 /uri/iter-params/length 526s # End of iter-params tests 526s # Start of parse-params tests 526s # URI 0: p1=foo&p2=bar;p3=baz 526s # URI 1: p1=foo&p2=bar 526s # URI 2: p1=foo&&P1=bar 526s # URI 3: %00=foo 526s # URI 4: p1=%00 526s # URI 5: p1=foo&p1=bar 526s # URI 6: p1=foo&P1=bar 526s # URI 7: =% 526s # URI 8: = 526s # URI 9: foo 526s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 526s ok 23 /uri/parse-params/nul-terminated 526s # URI 0: p1=foo&p2=bar;p3=baz 526s # URI 1: p1=foo&p2=bar 526s # URI 2: p1=foo&&P1=bar 526s # URI 3: %00=foo 526s # URI 4: p1=%00 526s # URI 5: p1=foo&p1=bar 526s # URI 6: p1=foo&P1=bar 526s # URI 7: =% 526s # URI 8: = 526s # URI 9: foo 526s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 526s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 526s ok 24 /uri/parse-params/length 526s # End of parse-params tests 526s # End of uri tests 526s ok - glib/uri.test 526s # Running test: glib/binding.test 526s TAP version 14 526s # random seed: R02Sbd2e384ef752714e806858988f5b449c 526s 1..19 526s # Start of binding tests 526s ok 1 /binding/default 526s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 526s ok 2 /binding/canonicalisation 526s ok 3 /binding/bidirectional 526s ok 4 /binding/transform 526s ok 5 /binding/transform-default 526s ok 6 /binding/transform-closure 526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 526s ok 7 /binding/chain 526s ok 8 /binding/sync-create 526s ok 9 /binding/invert-boolean 526s ok 10 /binding/same-object 526s ok 11 /binding/unbind 526s ok 12 /binding/unbind-weak 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 526s ok 13 /binding/unbind-multiple 526s ok 14 /binding/fail 526s ok 15 /binding/interface 526s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 526s ok 16 /binding/concurrent-unbind 526s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 526s ok 17 /binding/concurrent-finalizing 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 526s ok 18 /binding/dispose-source 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 526s ok 19 /binding/dispose-target 526s # End of binding tests 526s ok - glib/binding.test 526s # Running test: glib/markup-escape.test 526s TAP version 14 526s # random seed: R02S9d990065dc8f2ff4c6835e84ca89e4ac 526s 1..41 526s # Start of markup tests 526s ok 1 /markup/format 526s # Start of escape-text tests 526s ok 2 /markup/escape-text/0 526s ok 3 /markup/escape-text/1 526s ok 4 /markup/escape-text/2 526s ok 5 /markup/escape-text/3 526s ok 6 /markup/escape-text/4 526s ok 7 /markup/escape-text/5 526s ok 8 /markup/escape-text/6 526s ok 9 /markup/escape-text/7 526s ok 10 /markup/escape-text/8 526s ok 11 /markup/escape-text/9 526s ok 12 /markup/escape-text/10 526s ok 13 /markup/escape-text/11 526s ok 14 /markup/escape-text/12 526s ok 15 /markup/escape-text/13 526s ok 16 /markup/escape-text/14 526s ok 17 /markup/escape-text/15 526s ok 18 /markup/escape-text/16 526s ok 19 /markup/escape-text/17 526s ok 20 /markup/escape-text/18 526s ok 21 /markup/escape-text/19 526s ok 22 /markup/escape-text/20 526s ok 23 /markup/escape-text/21 526s ok 24 /markup/escape-text/22 526s # End of escape-text tests 526s # Start of escape-unichar tests 526s ok 25 /markup/escape-unichar/0 526s ok 26 /markup/escape-unichar/1 526s ok 27 /markup/escape-unichar/2 526s ok 28 /markup/escape-unichar/3 526s ok 29 /markup/escape-unichar/4 526s ok 30 /markup/escape-unichar/5 526s ok 31 /markup/escape-unichar/6 526s ok 32 /markup/escape-unichar/7 526s ok 33 /markup/escape-unichar/8 526s ok 34 /markup/escape-unichar/9 526s ok 35 /markup/escape-unichar/10 526s ok 36 /markup/escape-unichar/11 526s ok 37 /markup/escape-unichar/12 526s ok 38 /markup/escape-unichar/13 526s ok 39 /markup/escape-unichar/14 526s ok 40 /markup/escape-unichar/15 526s ok 41 /markup/escape-unichar/16 526s # End of escape-unichar tests 526s # End of markup tests 526s ok - glib/markup-escape.test 526s # Running test: glib/gdbus-server-auth.test 526s TAP version 14 526s # random seed: R02S94dfe936bfc974370daf2a007c0d6d37 526s 1..9 526s # Start of gdbus tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/.dirs/runtime 526s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-3TJEX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 526s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-3TJEX2/dbus-5chGdO8E 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13800 526s ok 1 /gdbus/server-auth 526s # Start of server-auth tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/abstract/.dirs/runtime 526s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-CB4DX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 526s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-CB4DX2/dbus-LtDWFWNp 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 526s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 526s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13800 526s ok 2 /gdbus/server-auth/abstract 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/tcp/.dirs/runtime 526s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 526s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/.dirs/runtime 526s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-N41DX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 526s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-N41DX2/dbus-rkCytN4G 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13800 526s ok 4 /gdbus/server-auth/anonymous 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/.dirs/runtime 526s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-TAWEX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 526s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-TAWEX2/dbus-pXo3gxoo 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13800 526s ok 5 /gdbus/server-auth/external 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/.dirs/runtime 526s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-S6PEX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 526s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 526s # Start of anonymous tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 526s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 526s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 526s # End of anonymous tests 526s # Start of external tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 526s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-YOSEX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 526s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_93JEX2/gdbus-server-auth-YOSEX2/dbus-GaboayxC 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13800 526s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 526s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 526s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 526s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13800,uid=1000,gid=1000 526s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13800 526s ok 8 /gdbus/server-auth/external/require-same-user 526s # End of external tests 526s # Start of sha1 tests 526s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/home 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/cache 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/config 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/data 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/state 526s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_93JEX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 526s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 526s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 526s # End of sha1 tests 526s # End of server-auth tests 526s # End of gdbus tests 526s ok - glib/gdbus-server-auth.test 526s # Running test: glib/convert.test 526s TAP version 14 526s # random seed: R02S7ec889526e2c9136b91ab65ce273f469 526s 1..14 526s # Start of conversion tests 526s ok 1 /conversion/no-conv 526s ok 2 /conversion/iconv-state 526s ok 3 /conversion/illegal-sequence 526s ok 4 /conversion/byte-order 526s ok 5 /conversion/unicode 526s ok 6 /conversion/filename-utf8 526s ok 7 /conversion/filename-display 526s ok 8 /conversion/convert-embedded-nul 526s # Start of locale-to-utf8 tests 526s ok 9 /conversion/locale-to-utf8/embedded-nul 526s # Start of embedded-nul tests 526s # Start of subprocess tests 526s # End of subprocess tests 526s # End of embedded-nul tests 526s # End of locale-to-utf8 tests 526s # Start of locale-from-utf8 tests 527s ok 10 /conversion/locale-from-utf8/embedded-nul 527s # Start of embedded-nul tests 527s # Start of subprocess tests 527s # End of subprocess tests 527s # End of embedded-nul tests 527s # End of locale-from-utf8 tests 527s # Start of filename-to-utf8 tests 527s ok 11 /conversion/filename-to-utf8/embedded-nul 527s # Start of embedded-nul tests 527s # Start of subprocess tests 527s # End of subprocess tests 527s # End of embedded-nul tests 527s # End of filename-to-utf8 tests 527s # Start of filename-from-utf8 tests 527s ok 12 /conversion/filename-from-utf8/embedded-nul 527s # Start of embedded-nul tests 527s # Start of subprocess tests 527s # End of subprocess tests 527s # End of embedded-nul tests 527s # End of filename-from-utf8 tests 527s # Start of filename-from-uri tests 527s ok 13 /conversion/filename-from-uri/query-is-ignored 527s ok 14 /conversion/filename-from-uri/fragment-is-ignored 527s # End of filename-from-uri tests 527s # End of conversion tests 527s ok - glib/convert.test 527s # Running test: glib/atomic-c-11.test 527s TAP version 14 527s # random seed: R02S07c11388a5db381b5131f52dac9cbed2 527s 1..2 527s # Start of atomic tests 527s ok 1 /atomic/types 527s ok 2 /atomic/threaded 527s # End of atomic tests 527s ok - glib/atomic-c-11.test 527s # Running test: glib/gdbus-proxy.test 527s TAP version 14 527s # random seed: R02S45daa8fb9580d2971cc73e8679222c38 527s 1..5 527s # Start of gdbus tests 527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/home 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/cache 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/system-config2 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/config 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/system-data2 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/data 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/state 527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/.dirs/runtime 527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 527s # Executing: glib/gdbus-proxy.test 528s ok 1 /gdbus/proxy 528s # slow test /gdbus/proxy executed in 1.72 secs 528s # Start of proxy tests 528s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/home 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/cache 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/system-config2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/config 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/system-data2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/data 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/state 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-properties/.dirs/runtime 528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 528s ok 2 /gdbus/proxy/no-properties 528s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/home 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/cache 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/config 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/data 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/state 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/wellknown-noauto/.dirs/runtime 528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 528s ok 3 /gdbus/proxy/wellknown-noauto 528s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/home 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/cache 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/system-config2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/config 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/system-data2 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/data 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/state 528s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/async/.dirs/runtime 528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 530s ok 4 /gdbus/proxy/async 530s # slow test /gdbus/proxy/async executed in 1.72 secs 530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/home 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/cache 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/system-config2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/config 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/system-data2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/data 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/state 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_DVY7W2/gdbus/proxy/no-match-rule/.dirs/runtime 530s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 532s ok 5 /gdbus/proxy/no-match-rule 532s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 532s # End of proxy tests 532s # End of gdbus tests 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 532s ok - glib/gdbus-proxy.test 532s # Running test: glib/bookmarkfile.test 532s TAP version 14 532s # random seed: R02S1bf3307c112a99b4d258eba7189e1a83 532s 1..96 532s # Start of bookmarks tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/load-from-data-dirs/.dirs/runtime 532s ok 1 /bookmarks/load-from-data-dirs 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/to-file/.dirs/runtime 532s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_JT4ZW2/bookmarkfile-test-C83ZW2.xbel 532s # Roundtrip from a valid bookmark file 532s ok 2 /bookmarks/to-file 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/move-item/.dirs/runtime 532s ok 3 /bookmarks/move-item 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/corner-cases/.dirs/runtime 532s ok 4 /bookmarks/corner-cases 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/misc/.dirs/runtime 532s ok 5 /bookmarks/misc 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/deprecated/.dirs/runtime 532s ok 6 /bookmarks/deprecated 532s # Start of parse tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-02.xbel/.dirs/runtime 532s ok 7 /bookmarks/parse/valid-02.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-20.xbel/.dirs/runtime 532s ok 8 /bookmarks/parse/fail-20.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-35.xbel/.dirs/runtime 532s ok 9 /bookmarks/parse/fail-35.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-03.xbel/.dirs/runtime 532s ok 10 /bookmarks/parse/fail-03.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-13.xbel/.dirs/runtime 532s ok 11 /bookmarks/parse/fail-13.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-34.xbel/.dirs/runtime 532s ok 12 /bookmarks/parse/fail-34.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-37.xbel/.dirs/runtime 532s ok 13 /bookmarks/parse/fail-37.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-24.xbel/.dirs/runtime 532s ok 14 /bookmarks/parse/fail-24.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-21.xbel/.dirs/runtime 532s ok 15 /bookmarks/parse/fail-21.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-01.xbel/.dirs/runtime 532s ok 16 /bookmarks/parse/valid-01.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-09.xbel/.dirs/runtime 532s ok 17 /bookmarks/parse/fail-09.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-15.xbel/.dirs/runtime 532s ok 18 /bookmarks/parse/fail-15.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-32.xbel/.dirs/runtime 532s ok 19 /bookmarks/parse/fail-32.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-27.xbel/.dirs/runtime 532s ok 20 /bookmarks/parse/fail-27.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-04.xbel/.dirs/runtime 532s ok 21 /bookmarks/parse/fail-04.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-22.xbel/.dirs/runtime 532s ok 22 /bookmarks/parse/fail-22.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-30.xbel/.dirs/runtime 532s ok 23 /bookmarks/parse/fail-30.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-18.xbel/.dirs/runtime 532s ok 24 /bookmarks/parse/fail-18.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-10.xbel/.dirs/runtime 532s ok 25 /bookmarks/parse/fail-10.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-41.xbel/.dirs/runtime 532s ok 26 /bookmarks/parse/fail-41.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-02.xbel/.dirs/runtime 532s ok 27 /bookmarks/parse/fail-02.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-01.xbel/.dirs/runtime 532s ok 28 /bookmarks/parse/fail-01.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-33.xbel/.dirs/runtime 532s ok 29 /bookmarks/parse/fail-33.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-17.xbel/.dirs/runtime 532s ok 30 /bookmarks/parse/fail-17.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-07.xbel/.dirs/runtime 532s ok 31 /bookmarks/parse/fail-07.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-23.xbel/.dirs/runtime 532s ok 32 /bookmarks/parse/fail-23.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-26.xbel/.dirs/runtime 532s ok 33 /bookmarks/parse/fail-26.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-05.xbel/.dirs/runtime 532s ok 34 /bookmarks/parse/fail-05.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-40.xbel/.dirs/runtime 532s ok 35 /bookmarks/parse/fail-40.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-11.xbel/.dirs/runtime 532s ok 36 /bookmarks/parse/fail-11.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-12.xbel/.dirs/runtime 532s ok 37 /bookmarks/parse/fail-12.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-39.xbel/.dirs/runtime 532s ok 38 /bookmarks/parse/fail-39.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-14.xbel/.dirs/runtime 532s ok 39 /bookmarks/parse/fail-14.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-36.xbel/.dirs/runtime 532s ok 40 /bookmarks/parse/fail-36.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-38.xbel/.dirs/runtime 532s ok 41 /bookmarks/parse/fail-38.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-29.xbel/.dirs/runtime 532s ok 42 /bookmarks/parse/fail-29.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-19.xbel/.dirs/runtime 532s ok 43 /bookmarks/parse/fail-19.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/valid-03.xbel/.dirs/runtime 532s ok 44 /bookmarks/parse/valid-03.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-08.xbel/.dirs/runtime 532s ok 45 /bookmarks/parse/fail-08.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-31.xbel/.dirs/runtime 532s ok 46 /bookmarks/parse/fail-31.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-06.xbel/.dirs/runtime 532s ok 47 /bookmarks/parse/fail-06.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-42.xbel/.dirs/runtime 532s ok 48 /bookmarks/parse/fail-42.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-25.xbel/.dirs/runtime 532s ok 49 /bookmarks/parse/fail-25.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-28.xbel/.dirs/runtime 532s ok 50 /bookmarks/parse/fail-28.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/parse/fail-16.xbel/.dirs/runtime 532s ok 51 /bookmarks/parse/fail-16.xbel 532s # End of parse tests 532s # Start of copy tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-02.xbel/.dirs/runtime 532s ok 52 /bookmarks/copy/valid-02.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-20.xbel/.dirs/runtime 532s ok 53 /bookmarks/copy/fail-20.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-35.xbel/.dirs/runtime 532s ok 54 /bookmarks/copy/fail-35.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-03.xbel/.dirs/runtime 532s ok 55 /bookmarks/copy/fail-03.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-13.xbel/.dirs/runtime 532s ok 56 /bookmarks/copy/fail-13.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-34.xbel/.dirs/runtime 532s ok 57 /bookmarks/copy/fail-34.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-37.xbel/.dirs/runtime 532s ok 58 /bookmarks/copy/fail-37.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-24.xbel/.dirs/runtime 532s ok 59 /bookmarks/copy/fail-24.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-21.xbel/.dirs/runtime 532s ok 60 /bookmarks/copy/fail-21.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-01.xbel/.dirs/runtime 532s ok 61 /bookmarks/copy/valid-01.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-09.xbel/.dirs/runtime 532s ok 62 /bookmarks/copy/fail-09.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-15.xbel/.dirs/runtime 532s ok 63 /bookmarks/copy/fail-15.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-32.xbel/.dirs/runtime 532s ok 64 /bookmarks/copy/fail-32.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-27.xbel/.dirs/runtime 532s ok 65 /bookmarks/copy/fail-27.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-04.xbel/.dirs/runtime 532s ok 66 /bookmarks/copy/fail-04.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-22.xbel/.dirs/runtime 532s ok 67 /bookmarks/copy/fail-22.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-30.xbel/.dirs/runtime 532s ok 68 /bookmarks/copy/fail-30.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-18.xbel/.dirs/runtime 532s ok 69 /bookmarks/copy/fail-18.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-10.xbel/.dirs/runtime 532s ok 70 /bookmarks/copy/fail-10.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-41.xbel/.dirs/runtime 532s ok 71 /bookmarks/copy/fail-41.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-02.xbel/.dirs/runtime 532s ok 72 /bookmarks/copy/fail-02.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-01.xbel/.dirs/runtime 532s ok 73 /bookmarks/copy/fail-01.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-33.xbel/.dirs/runtime 532s ok 74 /bookmarks/copy/fail-33.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-17.xbel/.dirs/runtime 532s ok 75 /bookmarks/copy/fail-17.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-07.xbel/.dirs/runtime 532s ok 76 /bookmarks/copy/fail-07.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-23.xbel/.dirs/runtime 532s ok 77 /bookmarks/copy/fail-23.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-26.xbel/.dirs/runtime 532s ok 78 /bookmarks/copy/fail-26.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-05.xbel/.dirs/runtime 532s ok 79 /bookmarks/copy/fail-05.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-40.xbel/.dirs/runtime 532s ok 80 /bookmarks/copy/fail-40.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-11.xbel/.dirs/runtime 532s ok 81 /bookmarks/copy/fail-11.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-12.xbel/.dirs/runtime 532s ok 82 /bookmarks/copy/fail-12.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-39.xbel/.dirs/runtime 532s ok 83 /bookmarks/copy/fail-39.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-14.xbel/.dirs/runtime 532s ok 84 /bookmarks/copy/fail-14.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-36.xbel/.dirs/runtime 532s ok 85 /bookmarks/copy/fail-36.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-38.xbel/.dirs/runtime 532s ok 86 /bookmarks/copy/fail-38.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-29.xbel/.dirs/runtime 532s ok 87 /bookmarks/copy/fail-29.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-19.xbel/.dirs/runtime 532s ok 88 /bookmarks/copy/fail-19.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/valid-03.xbel/.dirs/runtime 532s ok 89 /bookmarks/copy/valid-03.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-08.xbel/.dirs/runtime 532s ok 90 /bookmarks/copy/fail-08.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-31.xbel/.dirs/runtime 532s ok 91 /bookmarks/copy/fail-31.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-06.xbel/.dirs/runtime 532s ok 92 /bookmarks/copy/fail-06.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-42.xbel/.dirs/runtime 532s ok 93 /bookmarks/copy/fail-42.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-25.xbel/.dirs/runtime 532s ok 94 /bookmarks/copy/fail-25.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-28.xbel/.dirs/runtime 532s ok 95 /bookmarks/copy/fail-28.xbel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_JT4ZW2/bookmarks/copy/fail-16.xbel/.dirs/runtime 532s ok 96 /bookmarks/copy/fail-16.xbel 532s # End of copy tests 532s # End of bookmarks tests 532s ok - glib/bookmarkfile.test 532s # Running test: glib/proxy-test.test 532s TAP version 14 532s # random seed: R02S993f770421a48d77ff8a7c761d00c6e1 532s 1..11 532s # Start of proxy tests 532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 532s ok 1 /proxy/direct_sync 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c9709c0 and GSocketClientAsyncConnectData 0x63a51c966260 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c9713d0 for GSocketClientAsyncConnectData 0x63a51c966260 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 2 /proxy/direct_async 532s ok 3 /proxy/single_sync 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c972cd0 and GSocketClientAsyncConnectData 0x63a51c971e20 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c973830 for GSocketClientAsyncConnectData 0x63a51c971e20 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 4 /proxy/single_async 532s ok 5 /proxy/multiple_sync 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c973560 and GSocketClientAsyncConnectData 0x63a51c973330 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c973eb0 for GSocketClientAsyncConnectData 0x63a51c973330 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c9738c0 for GSocketClientAsyncConnectData 0x63a51c973330 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 6 /proxy/multiple_async 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 532s ok 7 /proxy/invalid-uris-sync 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c973c40 and GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c972cd0 and GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c972cd0 and GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c971930 for GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c973560 and GSocketClientAsyncConnectData 0x63a51c973620 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c971be0 for GSocketClientAsyncConnectData 0x63a51c973620 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 8 /proxy/invalid-uris-async 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c972cd0 and GSocketClientAsyncConnectData 0x63a51c9732b0 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 532s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c9732b0 and GSocketClientAsyncConnectData 0x63a51c973620 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c9745e0 for GSocketClientAsyncConnectData 0x63a51c973620 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c972cd0 and GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c973310 for GSocketClientAsyncConnectData 0x63a51c973140 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s ok 9 /proxy/dns 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c971810 and GSocketClientAsyncConnectData 0x63a51c973900 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c9745e0 for GSocketClientAsyncConnectData 0x63a51c973900 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c9729e0 and GSocketClientAsyncConnectData 0x63a51c972c10 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c972e10 for GSocketClientAsyncConnectData 0x63a51c972c10 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 532s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 532s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63a51c9732b0 and GSocketClientAsyncConnectData 0x63a51c973900 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 532s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63a51c974690 for GSocketClientAsyncConnectData 0x63a51c973900 532s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 532s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 532s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 532s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 532s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 532s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 532s ok 10 /proxy/override 532s ok 11 /proxy/enumerator-ports 532s # End of proxy tests 532s ok - glib/proxy-test.test 532s # Running test: glib/gutils-user-database.test 532s TAP version 14 532s # random seed: R02S775bd01789425e98a0246cbed71228ab 532s 1..1 532s # Start of gutils tests 532s ok 1 /gutils/get_user_database_entry 532s # End of gutils tests 532s ok - glib/gutils-user-database.test 532s # Running test: glib/reference.test 532s TAP version 14 532s # random seed: R02S5693e2c22510e946ce39310ff1b71e33 532s 1..29 532s # Start of type tests 532s ok 1 /type/fundamentals 532s ok 2 /type/qdata 532s ok 3 /type/query 532s ok 4 /type/class-private 532s # End of type tests 532s # Start of object tests 532s ok 5 /object/clear 532s ok 6 /object/clear-function 532s ok 7 /object/set 532s ok 8 /object/set-function 532s ok 9 /object/value 532s ok 10 /object/initially-unowned 532s ok 11 /object/weak-pointer 532s ok 12 /object/weak-ref 532s ok 13 /object/toggle-ref 532s ok 14 /object/qdata 532s ok 15 /object/qdata2 532s # Start of set tests 532s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 532s ok 16 /object/set/derived-type 532s # End of set tests 532s # Start of weak-pointer tests 532s ok 17 /object/weak-pointer/clear 532s ok 18 /object/weak-pointer/clear-function 532s ok 19 /object/weak-pointer/set 532s ok 20 /object/weak-pointer/set-function 532s # End of weak-pointer tests 532s # Start of weak-ref tests 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 532s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 532s ok 21 /object/weak-ref/on-dispose 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 532s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 532s ok 22 /object/weak-ref/on-run-dispose 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 532s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 532s ok 23 /object/weak-ref/on-toggle-notify 532s ok 24 /object/weak-ref/in-toggle-notify 532s ok 25 /object/weak-ref/many 532s # Start of concurrent tests 532s ok 26 /object/weak-ref/concurrent/0 532s ok 27 /object/weak-ref/concurrent/1 532s # End of concurrent tests 532s # End of weak-ref tests 532s # Start of toggle-ref tests 532s ok 28 /object/toggle-ref/ref-on-dispose 532s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 532s # End of toggle-ref tests 532s # End of object tests 532s ok - glib/reference.test 532s # Running test: glib/async-close-output-stream.test 532s TAP version 14 532s # random seed: R02S7e3ee2bf7c8928edfcef392437267058 532s 1..3 532s # Start of close-async tests 532s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 532s ok 1 /close-async/without-flush 532s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 532s ok 2 /close-async/with-flush 532s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 532s ok 3 /close-async/with-async-flush 532s # End of close-async tests 532s ok - glib/async-close-output-stream.test 532s # Running test: glib/once.test 532s TAP version 14 532s # random seed: R02S471a9cbdd54198be349efdf12e0b5cfb 532s 1..5 532s # Start of once tests 532s # /once/single-threaded summary: Test g_once() usage from a single thread 532s ok 1 /once/single-threaded 532s # /once/multi-threaded summary: Test g_once() usage from multiple threads 532s ok 2 /once/multi-threaded 532s # End of once tests 532s # Start of once-init tests 532s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 532s ok 3 /once-init/single-threaded 532s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 532s ok 4 /once-init/multi-threaded 532s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 532s ok 5 /once-init/string 532s # End of once-init tests 532s ok - glib/once.test 532s # Running test: glib/deftype.test 532s ok - glib/deftype.test 532s # Running test: glib/cxx-20.test 532s TAP version 14 532s # random seed: R02Sd1008f8f46178ed073feeaeb8d252ebc 532s 1..2 532s # Start of gtask tests 532s # 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. 532s ok 1 /gtask/name 532s # Start of name tests 532s # 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. 532s ok 2 /gtask/name/macro-wrapper 532s # End of name tests 532s # End of gtask tests 532s ok - glib/cxx-20.test 532s # Running test: glib/file.test 532s TAP version 14 532s # random seed: R02Sdccd4a05da96c1539887493d4ea788c2 532s 1..55 532s # Start of file tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/basic/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/basic/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/basic/.dirs/system-config1:/tmp/test_file_HVD3W2/file/basic/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/basic/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/basic/.dirs/system-data1:/tmp/test_file_HVD3W2/file/basic/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/basic/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/basic/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/basic/.dirs/runtime 532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 532s ok 1 /file/basic 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/build-filename/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/build-filename/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/build-filename/.dirs/system-config1:/tmp/test_file_HVD3W2/file/build-filename/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/build-filename/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/build-filename/.dirs/system-data1:/tmp/test_file_HVD3W2/file/build-filename/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/build-filename/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/build-filename/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/build-filename/.dirs/runtime 532s ok 2 /file/build-filename 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_HVD3W2/file/build-filenamev/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_HVD3W2/file/build-filenamev/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/build-filenamev/.dirs/runtime 532s ok 3 /file/build-filenamev 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/parent/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/parent/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/parent/.dirs/system-config1:/tmp/test_file_HVD3W2/file/parent/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/parent/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/parent/.dirs/system-data1:/tmp/test_file_HVD3W2/file/parent/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/parent/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/parent/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/parent/.dirs/runtime 532s ok 4 /file/parent 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/child/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/child/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/child/.dirs/system-config1:/tmp/test_file_HVD3W2/file/child/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/child/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/child/.dirs/system-data1:/tmp/test_file_HVD3W2/file/child/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/child/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/child/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/child/.dirs/runtime 532s ok 5 /file/child 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/empty-path/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/empty-path/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/empty-path/.dirs/system-config1:/tmp/test_file_HVD3W2/file/empty-path/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/empty-path/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/empty-path/.dirs/system-data1:/tmp/test_file_HVD3W2/file/empty-path/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/empty-path/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/empty-path/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/empty-path/.dirs/runtime 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 532s # /file/empty-path summary: Check that creating a file with an empty path results in errors 532s ok 6 /file/empty-path 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/type/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/type/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/type/.dirs/system-config1:/tmp/test_file_HVD3W2/file/type/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/type/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/type/.dirs/system-data1:/tmp/test_file_HVD3W2/file/type/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/type/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/type/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/type/.dirs/runtime 532s ok 7 /file/type 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/parse-name/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/parse-name/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/parse-name/.dirs/system-config1:/tmp/test_file_HVD3W2/file/parse-name/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/parse-name/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/parse-name/.dirs/system-data1:/tmp/test_file_HVD3W2/file/parse-name/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/parse-name/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/parse-name/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/parse-name/.dirs/runtime 532s ok 8 /file/parse-name 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace-load/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace-load/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace-load/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace-load/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace-load/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace-load/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace-load/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace-load/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace-load/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace-load/.dirs/runtime 532s ok 9 /file/replace-load 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace-cancel/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace-cancel/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace-cancel/.dirs/runtime 532s # Bug Reference: https://bugzilla.gnome.org/629301 532s ok 10 /file/replace-cancel 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace-symlink/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace-symlink/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace-symlink/.dirs/runtime 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 532s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 532s # Using temporary directory /tmp/test_file_HVD3W2/g_file_replace_symlink_2MW2W2 532s # Executing: glib/file.test 532s ok 11 /file/replace-symlink 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-new-tmp/.dirs/runtime 532s ok 12 /file/async-new-tmp 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-new-tmp-dir/.dirs/runtime 532s ok 13 /file/async-new-tmp-dir 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-delete/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-delete/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-delete/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-delete/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-delete/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-delete/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-delete/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-delete/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-delete/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-delete/.dirs/runtime 532s ok 14 /file/async-delete 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-make-symlink/.dirs/runtime 532s ok 15 /file/async-make-symlink 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/copy-preserve-mode/.dirs/runtime 532s # Current umask: 2 532s # Vector 0 532s # Vector 1 532s # Vector 2 532s # Vector 3 532s # Vector 4 532s # Vector 5 532s # Vector 6 532s # Vector 7 532s # Vector 8 532s # Vector 9 532s # Vector 10 532s ok 16 /file/copy-preserve-mode 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/copy-async-with-closures/.dirs/runtime 532s ok 17 /file/copy-async-with-closures 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/measure/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/measure/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/measure/.dirs/system-config1:/tmp/test_file_HVD3W2/file/measure/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/measure/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/measure/.dirs/system-data1:/tmp/test_file_HVD3W2/file/measure/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/measure/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/measure/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/measure/.dirs/runtime 532s ok 18 /file/measure 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/measure-async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/measure-async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/measure-async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/measure-async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/measure-async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/measure-async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/measure-async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/measure-async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/measure-async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/measure-async/.dirs/runtime 532s ok 19 /file/measure-async 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/system-config1:/tmp/test_file_HVD3W2/file/load-bytes/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/system-data1:/tmp/test_file_HVD3W2/file/load-bytes/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/load-bytes/.dirs/runtime 532s ok 20 /file/load-bytes 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/load-bytes-async/.dirs/runtime 532s ok 21 /file/load-bytes-async 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/load-bytes-4gb/.dirs/runtime 532s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/load-contents-4gb/.dirs/runtime 532s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/load-contents-4gb-async/.dirs/runtime 532s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/.dirs/runtime 532s ok 25 /file/writev 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/build-attribute-list-for-copy/.dirs/runtime 532s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 532s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 532s # 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::* 532s # 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::* 532s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 532s # Attributes for copy: standard::size,xattr::* 532s # Attributes for copy: standard::size,unix::mode,xattr::* 532s ok 26 /file/build-attribute-list-for-copy 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/move_async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/move_async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/move_async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/move_async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/move_async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/move_async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/move_async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/move_async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/move_async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/move_async/.dirs/runtime 532s ok 27 /file/move_async 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/move-async-with-closures/.dirs/runtime 532s ok 28 /file/move-async-with-closures 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/query-zero-length-content-type/.dirs/runtime 532s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 532s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 532s ok 29 /file/query-zero-length-content-type 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/runtime 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/data/applications 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/config 532s ok 30 /file/query-default-handler-file 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/runtime 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/data/applications 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config 532s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_HVD3W2/file/query-default-handler-file/.dirs/config to /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config 532s ok 31 /file/query-default-handler-file-async 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/runtime 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/data/applications 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config 532s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_HVD3W2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config 532s ok 32 /file/query-default-handler-uri 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/runtime 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/data/applications 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/config 532s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_HVD3W2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/config 532s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_HVD3W2/file/query-default-handler-uri-async/.dirs/config 532s ok 33 /file/query-default-handler-uri-async 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/enumerator-cancellation/.dirs/runtime 532s ok 34 /file/enumerator-cancellation 532s # Start of async-create-delete tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-create-delete/0/.dirs/runtime 532s ok 35 /file/async-create-delete/0 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-create-delete/1/.dirs/runtime 532s ok 36 /file/async-create-delete/1 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-create-delete/10/.dirs/runtime 532s ok 37 /file/async-create-delete/10 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-create-delete/25/.dirs/runtime 532s ok 38 /file/async-create-delete/25 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/async-create-delete/4096/.dirs/runtime 532s ok 39 /file/async-create-delete/4096 532s # End of async-create-delete tests 532s # Start of replace-symlink tests 532s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/home 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/cache 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/system-config2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/config 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/system-data2 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/data 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/state 532s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace-symlink/using-etag/.dirs/runtime 532s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 532s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 532s # Using temporary directory /tmp/test_file_HVD3W2/g_file_replace_symlink_using_etag_FS1LX2 534s ok 40 /file/replace-symlink/using-etag 534s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 534s # End of replace-symlink tests 534s # Start of replace tests 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace/write-only/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace/write-only/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace/write-only/.dirs/runtime 534s # /file/replace/write-only summary: Test various situations for g_file_replace() 534s # Current umask: 2 534s # Test 0, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_6U4LX2 534s # Test 1, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_OW3LX2 534s # Test 2, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_HD5LX2 534s # Test 3, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_8UULX2 534s # Test 4, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_UJULX2 534s # Test 5, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_WSWLX2 534s # Test 6, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_F7VLX2 534s # Test 7, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_ATXLX2 534s # Test 8, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_7TZLX2 534s # Test 9, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_FSZLX2 534s # Test 10, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_J8OLX2 534s # Test 11, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_DSPLX2 534s # Test 12, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_6GPLX2 534s # Test 13, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_43PLX2 534s # Test 14, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_6FTLX2 534s # Test 15, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_7ZOBX2 534s # Test 16, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_04NBX2 534s # Test 17, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_IMPBX2 534s # Test 18, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_PFTBX2 534s # Test 19, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_16HBX2 534s # Test 20, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_4RJBX2 534s # Test 21, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_TELBX2 534s # Test 22, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_A1MBX2 534s # Test 23, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_NSMBX2 534s # Test 24, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_QGCBX2 534s # Test 25, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_MRDBX2 534s # Test 26, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_QNCBX2 534s # Test 27, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_58CBX2 534s # Test 28, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_3UEBX2 534s # Test 29, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_FQ5AX2 534s # Test 30, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_MG5AX2 534s # Test 31, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_C75AX2 534s # Test 32, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_3H6AX2 534s # Test 33, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_HB9AX2 534s # Test 34, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_658AX2 534s # Test 35, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_S67AX2 534s # Test 36, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_9N9AX2 534s # Test 37, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_XYCCX2 534s # Test 38, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_O4ECX2 534s # Test 39, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_LTICX2 534s # Test 40, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_K57BX2 534s # Test 41, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_H06BX2 534s # Test 42, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_JP8BX2 534s # Test 43, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_4EACX2 534s # Test 44, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_1UBCX2 534s # Test 45, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_9SBCX2 534s # Test 46, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_DW2BX2 534s # Test 47, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_DN2BX2 534s # Test 48, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_7Z4BX2 534s # We do not have CAP_DAC_OVERRIDE or equivalent 534s ok 41 /file/replace/write-only 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_HVD3W2/file/replace/read-write/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_HVD3W2/file/replace/read-write/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/replace/read-write/.dirs/runtime 534s # /file/replace/read-write summary: Test various situations for g_file_replace() 534s # Current umask: 2 534s # Test 0, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_0M3BX2 534s # Test 1, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_BL3BX2 534s # Test 2, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_5N5BX2 534s # Test 3, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_2CUBX2 534s # Test 4, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_PMWBX2 534s # Test 5, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_5DWBX2 534s # Test 6, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_K4VBX2 534s # Test 7, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_GUZBX2 534s # Test 8, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_0OZBX2 534s # Test 9, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_J8ZBX2 534s # Test 10, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_FL3CX2 534s # Test 11, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_514CX2 534s # Test 12, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_SX3CX2 534s # Test 13, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_LV3CX2 534s # Test 14, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_P05CX2 534s # Test 15, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_297CX2 534s # Test 16, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_48WCX2 534s # Test 17, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_2RXCX2 534s # Test 18, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_P4YCX2 534s # Test 19, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_UD1CX2 534s # Test 20, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_7BRCX2 534s # Test 21, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_O5TCX2 534s # Test 22, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_MYUCX2 534s # Test 23, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_TTUCX2 534s # Test 24, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_SQJCX2 534s # Test 25, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_FCNCX2 534s # Test 26, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_5QNCX2 534s # Test 27, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_URMCX2 534s # Test 28, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_8EOCX2 534s # Test 29, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_SNRDX2 534s # Test 30, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_BBSDX2 534s # Test 31, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_H2RDX2 534s # Test 32, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_QIUDX2 534s # Test 33, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_V3VDX2 534s # Test 34, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_1ZVDX2 534s # Test 35, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_PZUDX2 534s # Test 36, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_QBWDX2 534s # Test 37, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_56MDX2 534s # Test 38, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_1TODX2 534s # Test 39, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_I0EDX2 534s # Test 40, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_2VHDX2 534s # Test 41, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_VIJDX2 534s # Test 42, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_8YKDX2 534s # Test 43, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_V29CX2 534s # Test 44, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_EKADX2 534s # Test 45, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_TBADX2 534s # Test 46, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_SUBDX2 534s # Test 47, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_LECDX2 534s # Test 48, using temporary directory /tmp/test_file_HVD3W2/g_file_replace_URDDX2 534s # We do not have CAP_DAC_OVERRIDE or equivalent 534s ok 42 /file/replace/read-write 534s # End of replace tests 534s # Start of copy tests 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/system-config1:/tmp/test_file_HVD3W2/file/copy/progress/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/system-data1:/tmp/test_file_HVD3W2/file/copy/progress/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/copy/progress/.dirs/runtime 534s ok 43 /file/copy/progress 534s # End of copy tests 534s # Start of writev tests 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/no-bytes-written/.dirs/runtime 534s ok 44 /file/writev/no-bytes-written 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/no-vectors/.dirs/runtime 534s ok 45 /file/writev/no-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/empty-vectors/.dirs/runtime 534s ok 46 /file/writev/empty-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/too-big-vectors/.dirs/runtime 534s ok 47 /file/writev/too-big-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async/.dirs/runtime 534s ok 48 /file/writev/async 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async_all/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async_all/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async_all/.dirs/runtime 534s ok 49 /file/writev/async_all 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async_all-empty-vectors/.dirs/runtime 534s ok 50 /file/writev/async_all-empty-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async_all-no-vectors/.dirs/runtime 534s ok 51 /file/writev/async_all-no-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async_all-to-big-vectors/.dirs/runtime 534s ok 52 /file/writev/async_all-to-big-vectors 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/writev/async_all-cancellation/.dirs/runtime 534s ok 53 /file/writev/async_all-cancellation 534s # End of writev tests 534s # Start of from-uri tests 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/from-uri/ignores-query-string/.dirs/runtime 534s ok 54 /file/from-uri/ignores-query-string 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_HVD3W2/file/from-uri/ignores-fragment/.dirs/runtime 534s ok 55 /file/from-uri/ignores-fragment 534s # End of from-uri tests 534s # End of file tests 534s ok - glib/file.test 534s # Running test: glib/hook.test 534s TAP version 14 534s # random seed: R02Sc7ce1cea3216873320e90069a6d8fb34 534s 1..2 534s # Start of hook tests 534s ok 1 /hook/basics 534s ok 2 /hook/corner-cases 534s # End of hook tests 534s ok - glib/hook.test 534s # Running test: glib/contenttype.test 534s TAP version 14 534s # random seed: R02S604600740899604cabf452f8081639c5 534s 1..13 534s # Start of contenttype tests 534s ok 1 /contenttype/guess 534s ok 2 /contenttype/guess_svg_from_data 534s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 534s ok 4 /contenttype/unknown 534s ok 5 /contenttype/subtype 534s ok 6 /contenttype/list 534s ok 7 /contenttype/executable 534s ok 8 /contenttype/description 534s ok 9 /contenttype/icon 534s ok 10 /contenttype/symbolic-icon 534s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 534s ok 11 /contenttype/tree 534s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 534s ok 12 /contenttype/tree_invalid_encoding 534s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 534s ok 13 /contenttype/test_type_is_a_special_case 534s # End of contenttype tests 534s ok - glib/contenttype.test 534s # Running test: glib/notify-init2.test 534s TAP version 14 534s # random seed: R02S24492e81fb10d9aa74f39600959c3bfb 534s 1..1 534s # Start of properties tests 534s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 534s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 534s ok 1 /properties/notify-in-init2 534s # End of properties tests 534s ok - glib/notify-init2.test 534s # Running test: glib/memory-settings-backend.test 534s TAP version 14 534s # random seed: R02Sb21cf061064233e43491d27452ecea92 534s 1..1 534s # Start of memory-settings-backend tests 534s ok 1 /memory-settings-backend/extension-point-registered 534s # End of memory-settings-backend tests 534s ok - glib/memory-settings-backend.test 534s # Running test: glib/mount-operation.test 534s TAP version 14 534s # random seed: R02S7cfe8078cd711173f573cd6f743f27a0 534s 1..2 534s # Start of mount-operation tests 534s ok 1 /mount-operation/construction 534s ok 2 /mount-operation/properties 534s # End of mount-operation tests 534s ok - glib/mount-operation.test 534s # Running test: glib/value.test 534s TAP version 14 534s # random seed: R02S1b07608d11f033fa7b9fbd5246283ea3 534s 1..9 534s # Start of value tests 534s ok 1 /value/basic 534s ok 2 /value/collection 534s ok 3 /value/copying 534s ok 4 /value/enum-transformation 534s ok 5 /value/gtype 534s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 534s ok 6 /value/string 534s # Next: GObject object in GValue of GObject to GValue of GObject 534s # Next: GObject object in GValue of GObject to GValue of TestInterface 534s # Next: GObject object in GValue of GObject to GValue of TestObjectA 534s # Next: GObject object in GValue of GObject to GValue of TestObjectB 534s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 534s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 534s # Next: TestObjectA object in GValue of GObject to GValue of GObject 534s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 534s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 534s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 534s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 534s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 534s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 534s # Next: TestObjectB object in GValue of GObject to GValue of GObject 534s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 534s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 534s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 534s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 534s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 534s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 534s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 534s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 534s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 534s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 534s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 534s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 534s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 534s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 534s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 534s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 534s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 534s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 534s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 534s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 534s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 534s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 534s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 534s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 534s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 534s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 534s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 534s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 534s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 534s ok 7 /value/transform-object 534s # Start of array tests 534s ok 8 /value/array/basic 534s ok 9 /value/array/sort-with-data 534s # End of array tests 534s # End of value tests 534s ok - glib/value.test 534s # Running test: glib/defaultiface.test 534s TAP version 14 534s # random seed: R02S455e5b8837510d4d43dcb9771e1b89ec 534s 1..2 534s # Start of gobject tests 534s ok 1 /gobject/static-iface 534s ok 2 /gobject/dynamic-iface 534s # End of gobject tests 534s ok - glib/defaultiface.test 534s # Running test: glib/guuid.test 534s TAP version 14 534s # random seed: R02Se3372b10a7fc7244b9ae0eded1c7c87c 534s 1..2 534s # Start of uuid tests 534s ok 1 /uuid/string 534s ok 2 /uuid/random 534s # End of uuid tests 534s ok - glib/guuid.test 534s # Running test: glib/tree.test 534s TAP version 14 534s # random seed: R02S8ad8a958d2744261bd96e25f9173aeed 534s 1..7 534s # Start of tree tests 534s ok 1 /tree/search 534s ok 2 /tree/remove 534s ok 3 /tree/destroy 534s ok 4 /tree/traverse 534s ok 5 /tree/insert 534s ok 6 /tree/bounds 534s ok 7 /tree/remove-all 534s # End of tree tests 534s ok - glib/tree.test 534s # Running test: glib/gdbus-close-pending.test 534s TAP version 14 534s # random seed: R02S3f1331f2ea8d96584f7e5575499e9c69 534s 1..2 534s # Start of gdbus tests 534s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/home 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/cache 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/system-config2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/config 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/system-data2 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/data 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/state 534s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/close-pending/.dirs/runtime 535s ok 1 /gdbus/close-pending 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_GXSEX2/gdbus/unref-pending/.dirs/runtime 535s ok 2 /gdbus/unref-pending 535s # End of gdbus tests 535s ok - glib/gdbus-close-pending.test 535s # Running test: glib/properties-introspection.test 535s TAP version 14 535s # random seed: R02S56c046d7d28ec148bdfb536f053fba67 535s 1..2 535s # Start of properties tests 535s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 535s ok 1 /properties/introspection 535s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 535s ok 2 /properties/collision 535s # End of properties tests 535s ok - glib/properties-introspection.test 535s # Running test: glib/gdbus-export.test 535s TAP version 14 535s # random seed: R02Sf9ee1ecfe24f83fdfb734963474153b7 535s 1..6 535s # Start of gdbus tests 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration/.dirs/runtime 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s ok 1 /gdbus/object-registration 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/object-registration-with-closures/.dirs/runtime 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s ok 2 /gdbus/object-registration-with-closures 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/registered-interfaces/.dirs/runtime 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s ok 3 /gdbus/registered-interfaces 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/async-properties/.dirs/runtime 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s ok 4 /gdbus/async-properties 535s # Start of threaded-unregistration tests 535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/home 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/cache 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/system-config2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/config 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/system-data2 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/data 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/state 535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/object/.dirs/runtime 535s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 535s # /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 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 536s # slow test /gdbus/threaded-unregistration/object executed in 1.10 secs 536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/home 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/cache 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/config 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/data 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/state 536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_N0FHX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 536s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 536s # /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 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 536s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # Executing: glib/gdbus-export.test 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 537s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 537s # slow test /gdbus/threaded-unregistration/subtree executed in 1.08 secs 537s # End of threaded-unregistration tests 537s # End of gdbus tests 537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 537s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 537s ok - glib/gdbus-export.test 537s # Running test: glib/cxx-17.test 537s TAP version 14 537s # random seed: R02S39b739f3aa827fc6eefa378721be2b3d 537s 1..2 537s # Start of gtask tests 537s # 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. 537s ok 1 /gtask/name 537s # Start of name tests 537s # 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. 537s ok 2 /gtask/name/macro-wrapper 537s # End of name tests 537s # End of gtask tests 537s ok - glib/cxx-17.test 537s # Running test: glib/tls-database.test 537s TAP version 14 537s # random seed: R02Sf41ca2e2b0f85fe2f138173e5207cc7c 537s 1..1 537s # Start of tls-backend tests 537s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 537s ok 1 /tls-backend/set-default-database 537s # End of tls-backend tests 537s ok - glib/tls-database.test 537s # Running test: glib/sort.test 537s TAP version 14 537s # random seed: R02S8b993f3dfd185b03be15e0809e267d16 537s 1..5 537s # Start of sort tests 537s ok 1 /sort/basic 537s ok 2 /sort/zero-elements 537s ok 3 /sort/stable 537s ok 4 /sort/big 537s ok 5 /sort/deprecated 537s # End of sort tests 537s ok - glib/sort.test 537s # Running test: glib/converter-stream.test 537s TAP version 14 537s # random seed: R02Sb62d5e1a542dd378ce0b27574632a8b8 537s 1..17 537s # Start of converter tests 537s ok 1 /converter/basics 537s # End of converter tests 537s # Start of converter-input-stream tests 537s ok 2 /converter-input-stream/expander 537s ok 3 /converter-input-stream/compressor 537s # Start of truncation tests 537s ok 4 /converter-input-stream/truncation/zlib 538s ok 5 /converter-input-stream/truncation/gzip 538s ok 6 /converter-input-stream/truncation/raw 538s # End of truncation tests 538s # Start of charset tests 538s ok 7 /converter-input-stream/charset/utf8->latin1 538s ok 8 /converter-input-stream/charset/latin1->utf8 538s ok 9 /converter-input-stream/charset/fallbacks 538s # End of charset tests 538s # End of converter-input-stream tests 538s # Start of converter-output-stream tests 538s # Start of roundtrip tests 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 10 /converter-output-stream/roundtrip/zlib-0 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 11 /converter-output-stream/roundtrip/zlib-9 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 12 /converter-output-stream/roundtrip/gzip-0 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 13 /converter-output-stream/roundtrip/gzip-9 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 14 /converter-output-stream/roundtrip/raw-0 538s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 538s ok 15 /converter-output-stream/roundtrip/raw-9 538s # End of roundtrip tests 538s # End of converter-output-stream tests 538s # Start of converter-stream tests 538s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 538s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59b5111d8e40 and GSocketClientAsyncConnectData 0x59b5115ce320 538s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 538s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 538s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59b5111e95c0 for GSocketClientAsyncConnectData 0x59b5115ce320 538s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 538s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 538s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 538s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 538s ok 16 /converter-stream/pollable 538s ok 17 /converter-stream/leftover 538s # End of converter-stream tests 538s ok - glib/converter-stream.test 538s # Running test: glib/repository-search-paths.test 538s TAP version 14 538s # random seed: R02Scaed54773dfb23f197943a2fc3911580 538s 1..4 538s # Start of repository tests 538s # Start of search-paths tests 538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/home 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/cache 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/system-config2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/config 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/system-data2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/data 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/state 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/default/.dirs/runtime 538s ok 1 /repository/search-paths/default 538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/home 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/cache 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/system-config2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/config 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/system-data2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/data 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/state 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_GF2LX2/repository/search-paths/prepend/.dirs/runtime 538s ok 2 /repository/search-paths/prepend 538s # End of search-paths tests 538s # Start of library-paths tests 538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/home 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/cache 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/system-config2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/config 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/system-data2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/data 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/state 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/default/.dirs/runtime 538s ok 3 /repository/library-paths/default 538s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/home 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/cache 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/system-config2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/config 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/system-data2 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/data 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/state 538s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_GF2LX2/repository/library-paths/prepend/.dirs/runtime 538s ok 4 /repository/library-paths/prepend 538s # End of library-paths tests 538s # End of repository tests 538s ok - glib/repository-search-paths.test 538s # Running test: glib/static-link.test 538s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 538s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 538s and make sure you have glib build dependencies installed, including 538s meson. 538s ok # SKIP - glib/static-link.test 538s # Running test: glib/macros-c-99.test 538s TAP version 14 538s # random seed: R02Se71fbbec8e0c24bf32ebfb4770832b5f 538s 1..4 538s # Start of C tests 538s ok 1 /C/standard-99 538s # End of C tests 538s # Start of alignof tests 538s ok 2 /alignof/fallback 538s # End of alignof tests 538s # Start of assert tests 538s ok 3 /assert/static 538s # End of assert tests 538s # Start of struct tests 538s ok 4 /struct/sizeof_member 538s # End of struct tests 538s ok - glib/macros-c-99.test 538s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=168.5s; system=99.7s; maxrss=175440 539s autopkgtest [08:39:03]: test installed-tests: -----------------------] 539s installed-tests PASS 539s autopkgtest [08:39:03]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 539s autopkgtest [08:39:03]: test closure-refcount: preparing testbed 540s Reading package lists... 540s Building dependency tree... 540s Reading state information... 540s Starting pkgProblemResolver with broken count: 0 541s Starting 2 pkgProblemResolver with broken count: 0 541s Done 541s The following NEW packages will be installed: 541s autopkgtest-satdep 541s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 541s Need to get 0 B/772 B of archives. 541s After this operation, 0 B of additional disk space will be used. 541s Get:1 /tmp/autopkgtest.L0Waye/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 541s Selecting previously unselected package autopkgtest-satdep. 541s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 77014 files and directories currently installed.) 541s Preparing to unpack .../4-autopkgtest-satdep.deb ... 541s Unpacking autopkgtest-satdep (0) ... 541s Setting up autopkgtest-satdep (0) ... 543s (Reading database ... 77014 files and directories currently installed.) 543s Removing autopkgtest-satdep (0) ... 543s autopkgtest [08:39:07]: test closure-refcount: [----------------------- 543s Running test: glib/closure-refcount.test 543s TAP version 14 543s # random seed: R02Sb757a2b1328999c33baac63e60038175 543s 1..1 543s # Start of closure tests 543s # Init 0x605d8b1c00a0 543s # Yielding from main thread 543s # Yielding from main thread 543s # Yielding from main thread 543s # Yielding from thread1 543s # Yielding from thread2 543s # Yielding from main thread 543s # Yielding from thread1 544s # Yielding from thread1 544s # Yielding from main thread 544s # Yielding from thread2 544s # Yielding from thread1 544s # Yielding from thread2 544s # Yielding from main thread 544s # Yielding from thread2 544s # Yielding from main thread 544s # Yielding from thread1 544s # Yielding from main thread 544s # Yielding from main thread 544s # Yielding from main thread 544s # Yielding from thread1 544s # Yielding from thread2 544s # Yielding from main thread 544s # Yielding from thread1 544s # Yielding from thread2 544s # Yielding from main thread 544s # Yielding from thread1 544s # Yielding from main thread 544s # Yielding from thread2 544s # Yielding from thread2 544s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 545s # Yielding from main thread 545s # Yielding from thread2 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from main thread 545s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from thread2 546s # Yielding from thread1 546s # Yielding from main thread 546s # Yielding from main thread 546s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread1 547s # Yielding from main thread 547s # Yielding from thread2 547s # Yielding from main thread 547s # Yielding from main thread 547s # Yielding from thread2 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from thread2 548s # Yielding from thread1 548s # Yielding from main thread 548s # Yielding from thread2 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from main thread 548s # Yielding from thread2 548s # Yielding from main thread 548s # Yielding from main thread 548s # Yielding from thread1 548s # Yielding from main thread 548s # Yielding from thread2 548s # Stopping 548s # Stopped 548s ok 1 /closure/refcount 548s # slow test /closure/refcount executed in 4.80 secs 548s # End of closure tests 548s PASS: glib/closure-refcount.test 548s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=9.5s; system=0.0s; maxrss=3792 548s autopkgtest [08:39:12]: test closure-refcount: -----------------------] 549s autopkgtest [08:39:13]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 549s closure-refcount PASS 549s autopkgtest [08:39:13]: test debugcontroller: preparing testbed 549s Reading package lists... 550s Building dependency tree... 550s Reading state information... 550s Starting pkgProblemResolver with broken count: 0 550s Starting 2 pkgProblemResolver with broken count: 0 550s Done 550s The following NEW packages will be installed: 550s autopkgtest-satdep 550s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 550s Need to get 0 B/776 B of archives. 550s After this operation, 0 B of additional disk space will be used. 550s Get:1 /tmp/autopkgtest.L0Waye/5-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [776 B] 551s Selecting previously unselected package autopkgtest-satdep. 551s (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 ... 77014 files and directories currently installed.) 551s Preparing to unpack .../5-autopkgtest-satdep.deb ... 551s Unpacking autopkgtest-satdep (0) ... 551s Setting up autopkgtest-satdep (0) ... 552s (Reading database ... 77014 files and directories currently installed.) 552s Removing autopkgtest-satdep (0) ... 553s autopkgtest [08:39:17]: test debugcontroller: [----------------------- 553s Running test: glib/debugcontroller.test 553s TAP version 14 553s # random seed: R02Sb00205631e9a6167abbd767d99a1f146 553s 1..3 553s # Start of debug-controller tests 553s # Start of dbus tests 553s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 553s # GLib-GIO-DEBUG: Debug output enabled 553s # GLib-GIO-DEBUG: Debug output disabled 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s ok 1 /debug-controller/dbus/basic 553s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s ok 2 /debug-controller/dbus/duplicate 553s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 553s # GLib-GIO-DEBUG: Debug output enabled 553s # GLib-GIO-DEBUG: Debug output disabled 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 553s ok 3 /debug-controller/dbus/properties 553s # End of dbus tests 553s # End of debug-controller tests 553s PASS: glib/debugcontroller.test 553s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6320 553s autopkgtest [08:39:17]: test debugcontroller: -----------------------] 553s autopkgtest [08:39:17]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 553s debugcontroller PASS 553s autopkgtest [08:39:17]: test gdbus-server-auth: preparing testbed 554s Reading package lists... 554s Building dependency tree... 554s Reading state information... 555s Starting pkgProblemResolver with broken count: 0 555s Starting 2 pkgProblemResolver with broken count: 0 555s Done 555s The following NEW packages will be installed: 555s autopkgtest-satdep 555s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 555s Need to get 0 B/772 B of archives. 555s After this operation, 0 B of additional disk space will be used. 555s Get:1 /tmp/autopkgtest.L0Waye/6-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 555s Selecting previously unselected package autopkgtest-satdep. 555s (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 ... 77014 files and directories currently installed.) 555s Preparing to unpack .../6-autopkgtest-satdep.deb ... 555s Unpacking autopkgtest-satdep (0) ... 555s Setting up autopkgtest-satdep (0) ... 557s (Reading database ... 77014 files and directories currently installed.) 557s Removing autopkgtest-satdep (0) ... 557s autopkgtest [08:39:21]: test gdbus-server-auth: [----------------------- 557s Running test: glib/gdbus-server-auth.test 557s TAP version 14 557s # random seed: R02S669fa3bbd9aec0eaf941e0c5a137c5ef 557s 1..9 557s # Start of gdbus tests 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/.dirs/runtime 557s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-XSACX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 557s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-XSACX2/dbus-tlfeq3pH 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 557s ok 1 /gdbus/server-auth 557s # Start of server-auth tests 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/abstract/.dirs/runtime 557s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-D2TBX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 557s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-D2TBX2/dbus-xhklLWYV 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 557s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 557s ok 2 /gdbus/server-auth/abstract 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/tcp/.dirs/runtime 557s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 557s # Connectable address: tcp:host=127.0.0.1,port=41205 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 557s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 557s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 557s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 557s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 557s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 557s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 558s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 558s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 558s ok 3 /gdbus/server-auth/tcp 558s # slow test /gdbus/server-auth/tcp executed in 0.85 secs 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/.dirs/runtime 558s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-IUQKX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 558s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-IUQKX2/dbus-aAQkJVgX 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 558s ok 4 /gdbus/server-auth/anonymous 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/.dirs/runtime 558s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-AUAKX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 558s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-AUAKX2/dbus-x8wIr6Cn 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 558s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 558s ok 5 /gdbus/server-auth/external 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/.dirs/runtime 558s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-K0KLX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 558s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-K0KLX2/dbus-hffHnf7l 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 558s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 558s ok 6 /gdbus/server-auth/sha1 558s # Start of anonymous tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 558s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 558s # Connectable address: tcp:host=127.0.0.1,port=34247 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 558s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 558s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 558s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 558s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 558s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 559s ok 7 /gdbus/server-auth/anonymous/tcp 559s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 559s # End of anonymous tests 559s # Start of external tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 559s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-Q2HHX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 559s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_S4ACX2/gdbus-server-auth-Q2HHX2/dbus-46DUGWmr 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16933 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 559s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16933,uid=1000,gid=1000 559s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16933 559s ok 8 /gdbus/server-auth/external/require-same-user 559s # End of external tests 559s # Start of sha1 tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_S4ACX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 559s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 559s # Connectable address: tcp:host=127.0.0.1,port=44773 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 559s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 559s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 559s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 559s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 559s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 560s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 560s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 560s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 560s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 560s ok 9 /gdbus/server-auth/sha1/tcp 560s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 560s # End of sha1 tests 560s # End of server-auth tests 560s # End of gdbus tests 560s PASS: glib/gdbus-server-auth.test 560s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8400 560s autopkgtest [08:39:24]: test gdbus-server-auth: -----------------------] 560s gdbus-server-auth PASS 560s autopkgtest [08:39:24]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 561s autopkgtest [08:39:25]: test gdbus-threading: preparing testbed 561s Reading package lists... 561s Building dependency tree... 561s Reading state information... 562s Starting pkgProblemResolver with broken count: 0 562s Starting 2 pkgProblemResolver with broken count: 0 562s Done 562s The following NEW packages will be installed: 562s autopkgtest-satdep 562s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 562s Need to get 0 B/772 B of archives. 562s After this operation, 0 B of additional disk space will be used. 562s Get:1 /tmp/autopkgtest.L0Waye/7-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 563s Selecting previously unselected package autopkgtest-satdep. 563s (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 ... 77014 files and directories currently installed.) 563s Preparing to unpack .../7-autopkgtest-satdep.deb ... 563s Unpacking autopkgtest-satdep (0) ... 563s Setting up autopkgtest-satdep (0) ... 565s (Reading database ... 77014 files and directories currently installed.) 565s Removing autopkgtest-satdep (0) ... 565s autopkgtest [08:39:29]: test gdbus-threading: [----------------------- 565s Running test: glib/gdbus-threading.test 565s TAP version 14 565s # random seed: R02S2c75e8cd91374f2faeda64ec06f5d957 565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 565s 1..3 565s # Start of gdbus tests 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_M4C4W2/gdbus/delivery-in-thread/.dirs/runtime 565s ok 1 /gdbus/delivery-in-thread 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_M4C4W2/gdbus/method-calls-in-thread/.dirs/runtime 566s ok 2 /gdbus/method-calls-in-thread 566s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_M4C4W2/gdbus/threaded-singleton/.dirs/runtime 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 566s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c004e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c002440 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c006c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c0068a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c0078b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c001590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c0010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: refcount of 0x7ea26c0010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 568s ok 3 /gdbus/threaded-singleton 568s # slow test /gdbus/threaded-singleton executed in 1.71 secs 568s # End of gdbus tests 568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 568s PASS: glib/gdbus-threading.test 568s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=6232 568s autopkgtest [08:39:32]: test gdbus-threading: -----------------------] 568s gdbus-threading PASS 568s autopkgtest [08:39:32]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 568s autopkgtest [08:39:32]: test gmenumodel: preparing testbed 569s Reading package lists... 569s Building dependency tree... 569s Reading state information... 570s Starting pkgProblemResolver with broken count: 0 570s Starting 2 pkgProblemResolver with broken count: 0 570s Done 570s The following NEW packages will be installed: 570s autopkgtest-satdep 570s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 570s Need to get 0 B/776 B of archives. 570s After this operation, 0 B of additional disk space will be used. 570s Get:1 /tmp/autopkgtest.L0Waye/8-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [776 B] 571s Selecting previously unselected package autopkgtest-satdep. 571s (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 ... 77014 files and directories currently installed.) 571s Preparing to unpack .../8-autopkgtest-satdep.deb ... 571s Unpacking autopkgtest-satdep (0) ... 571s Setting up autopkgtest-satdep (0) ... 572s (Reading database ... 77014 files and directories currently installed.) 572s Removing autopkgtest-satdep (0) ... 573s autopkgtest [08:39:37]: test gmenumodel: [----------------------- 573s Running test: glib/gmenumodel.test 573s TAP version 14 573s # random seed: R02S824bdc9d0cc08f71155f222ab415a8c6 573s 1..15 573s # Start of gmenu tests 573s ok 1 /gmenu/equality 574s ok 2 /gmenu/random 574s # slow test /gmenu/random executed in 0.55 secs 574s ok 3 /gmenu/attributes 574s ok 4 /gmenu/links 574s ok 5 /gmenu/mutable 574s ok 6 /gmenu/convenience 574s ok 7 /gmenu/menuitem 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s ok 8 /gmenu/input-validation 574s # Start of dbus tests 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s ok 9 /gmenu/dbus/roundtrip 575s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 575s ok 10 /gmenu/dbus/subscriptions 576s ok 11 /gmenu/dbus/threaded 576s # slow test /gmenu/dbus/threaded executed in 0.73 secs 576s # Start of peer tests 577s ok 12 /gmenu/dbus/peer/roundtrip 577s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 577s ok 13 /gmenu/dbus/peer/subscriptions 577s # End of peer tests 577s # Start of export tests 577s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 577s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 577s ok 14 /gmenu/dbus/export/error-handling 577s # End of export tests 577s # End of dbus tests 577s # Start of attributes tests 577s ok 15 /gmenu/attributes/iterate 577s # End of attributes tests 577s # End of gmenu tests 577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 577s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 577s PASS: glib/gmenumodel.test 577s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.3s; system=0.2s; maxrss=23120 578s autopkgtest [08:39:42]: test gmenumodel: -----------------------] 578s gmenumodel PASS 578s autopkgtest [08:39:42]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 578s autopkgtest [08:39:42]: test mainloop: preparing testbed 579s Reading package lists... 579s Building dependency tree... 579s Reading state information... 579s Starting pkgProblemResolver with broken count: 0 579s Starting 2 pkgProblemResolver with broken count: 0 579s Done 580s The following NEW packages will be installed: 580s autopkgtest-satdep 580s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 580s Need to get 0 B/776 B of archives. 580s After this operation, 0 B of additional disk space will be used. 580s Get:1 /tmp/autopkgtest.L0Waye/9-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [776 B] 580s Selecting previously unselected package autopkgtest-satdep. 580s (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 ... 77014 files and directories currently installed.) 580s Preparing to unpack .../9-autopkgtest-satdep.deb ... 580s Unpacking autopkgtest-satdep (0) ... 580s Setting up autopkgtest-satdep (0) ... 582s (Reading database ... 77014 files and directories currently installed.) 582s Removing autopkgtest-satdep (0) ... 582s autopkgtest [08:39:46]: test mainloop: [----------------------- 582s Running test: glib/mainloop.test 582s TAP version 14 582s # random seed: R02S1abd0c72d6833872ece32bd60f06af03 582s 1..45 582s # Start of maincontext tests 582s ok 1 /maincontext/basic 582s # Add same-priority sources: 17 582s # Find each source: 1 582s # Remove in random order: 19 582s ok 2 /maincontext/nsources_same_priority 582s # Add different-priority sources: 16 582s # Find each source: 1 582s # Remove in random order: 27 582s ok 3 /maincontext/nsources_different_priority 582s # Add sources from threads: 73 582s # Remove sources from threads: 37 582s ok 4 /maincontext/nsources_threadpool 582s ok 5 /maincontext/source_finalization 582s # /maincontext/idle-once summary: Test g_idle_add_once() works 582s ok 6 /maincontext/idle-once 582s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 582s ok 7 /maincontext/timeout-once 582s # Start of source_finalization_from_source tests 582s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 8 /maincontext/source_finalization_from_source/0 582s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 9 /maincontext/source_finalization_from_source/1 582s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 10 /maincontext/source_finalization_from_source/2 582s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 11 /maincontext/source_finalization_from_source/3 582s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 12 /maincontext/source_finalization_from_source/4 582s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 13 /maincontext/source_finalization_from_source/5 582s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 14 /maincontext/source_finalization_from_source/6 582s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 15 /maincontext/source_finalization_from_source/7 582s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 16 /maincontext/source_finalization_from_source/8 582s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 582s ok 17 /maincontext/source_finalization_from_source/9 582s # End of source_finalization_from_source tests 582s # Start of source_finalization_from_dispatch tests 582s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 582s ok 18 /maincontext/source_finalization_from_dispatch/0 582s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 582s ok 19 /maincontext/source_finalization_from_dispatch/1 582s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 582s ok 20 /maincontext/source_finalization_from_dispatch/2 582s # End of source_finalization_from_dispatch tests 582s # End of maincontext tests 582s # Start of mainloop tests 582s ok 21 /mainloop/basic 582s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 582s ok 23 /mainloop/priorities 583s ok 24 /mainloop/invoke 583s # slow test /mainloop/invoke executed in 0.50 secs 584s ok 25 /mainloop/child_sources 584s # slow test /mainloop/child_sources executed in 1.18 secs 586s ok 26 /mainloop/recursive_child_sources 586s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 586s ok 27 /mainloop/recursive_loop_child_sources 586s ok 28 /mainloop/swapping_child_sources 586s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 586s ok 29 /mainloop/blocked_child_sources 587s ok 30 /mainloop/source_time 587s # slow test /mainloop/source_time executed in 1.00 secs 587s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 587s ok 31 /mainloop/overflow 587s Executing: glib/mainloop.test 588s ok 32 /mainloop/ready-time 588s # slow test /mainloop/ready-time executed in 0.50 secs 588s ok 33 /mainloop/wakeup 588s ok 34 /mainloop/remove-invalid 588s ok 35 /mainloop/unref-while-pending 589s ok 36 /mainloop/unix-fd 589s # slow test /mainloop/unix-fd executed in 0.90 secs 589s ok 37 /mainloop/unix-fd-source 589s ok 38 /mainloop/source-unix-fd-api 589s ok 39 /mainloop/wait 589s ok 40 /mainloop/unix-file-poll 589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 589s ok 41 /mainloop/unix-fd-priority 589s ok 42 /mainloop/nfds 589s ok 43 /mainloop/steal-fd 589s # Start of ownerless-polling tests 589s ok 44 /mainloop/ownerless-polling/attach-first 589s ok 45 /mainloop/ownerless-polling/pop-first 589s # End of ownerless-polling tests 589s # End of mainloop tests 589s PASS: glib/mainloop.test 589s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.8s; maxrss=16168 589s autopkgtest [08:39:53]: test mainloop: -----------------------] 589s mainloop PASS 589s autopkgtest [08:39:53]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 589s autopkgtest [08:39:53]: test memory-monitor-dbus: preparing testbed 592s Reading package lists... 592s Building dependency tree... 592s Reading state information... 593s Starting pkgProblemResolver with broken count: 0 593s Starting 2 pkgProblemResolver with broken count: 0 593s Done 593s The following NEW packages will be installed: 593s autopkgtest-satdep 593s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 593s Need to get 0 B/772 B of archives. 593s After this operation, 0 B of additional disk space will be used. 593s Get:1 /tmp/autopkgtest.L0Waye/10-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 594s Selecting previously unselected package autopkgtest-satdep. 594s (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 ... 77014 files and directories currently installed.) 594s Preparing to unpack .../10-autopkgtest-satdep.deb ... 594s Unpacking autopkgtest-satdep (0) ... 594s Setting up autopkgtest-satdep (0) ... 595s (Reading database ... 77014 files and directories currently installed.) 596s Removing autopkgtest-satdep (0) ... 596s autopkgtest [08:40:00]: test memory-monitor-dbus: [----------------------- 596s Running test: glib/memory-monitor-dbus.test 596s TAP version 13 596s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 596s # Received memory warning signal, level 596s # Received memory warning signal, level 596s # Received memory warning signal, level 596s 1..1 596s PASS: glib/memory-monitor-dbus.test 596s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=29984 596s autopkgtest [08:40:00]: test memory-monitor-dbus: -----------------------] 597s memory-monitor-dbus PASS 597s autopkgtest [08:40:01]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 597s autopkgtest [08:40:01]: test socket: preparing testbed 598s Reading package lists... 598s Building dependency tree... 598s Reading state information... 598s Starting pkgProblemResolver with broken count: 0 598s Starting 2 pkgProblemResolver with broken count: 0 598s Done 599s The following NEW packages will be installed: 599s autopkgtest-satdep 599s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 599s Need to get 0 B/772 B of archives. 599s After this operation, 0 B of additional disk space will be used. 599s Get:1 /tmp/autopkgtest.L0Waye/11-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 599s Selecting previously unselected package autopkgtest-satdep. 599s (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 ... 77014 files and directories currently installed.) 599s Preparing to unpack .../11-autopkgtest-satdep.deb ... 599s Unpacking autopkgtest-satdep (0) ... 599s Setting up autopkgtest-satdep (0) ... 601s (Reading database ... 77014 files and directories currently installed.) 601s Removing autopkgtest-satdep (0) ... 601s autopkgtest [08:40:05]: test socket: [----------------------- 601s Running test: glib/socket.test 601s TAP version 14 601s # random seed: R02S075d3bd7b54216945250918a8e459c88 601s 1..28 601s # Start of socket tests 602s ok 1 /socket/ipv4_sync 602s # slow test /socket/ipv4_sync executed in 1.00 secs 603s ok 2 /socket/ipv4_async 603s # slow test /socket/ipv4_async executed in 1.00 secs 603s ok 3 /socket/ipv6_sync 603s ok 4 /socket/ipv6_async 603s ok 5 /socket/ipv6_v4mapped 604s ok 6 /socket/close_graceful 604s # slow test /socket/close_graceful executed in 1.00 secs 604s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 604s ok 8 /socket/fd_reuse 604s ok 9 /socket/address 604s ok 10 /socket/unix-from-fd 604s ok 11 /socket/unix-connection 604s ok 12 /socket/unix-connection-ancillary-data 604s ok 13 /socket/source-postmortem 604s ok 14 /socket/read_write 604s ok 15 /socket/read_writev 604s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 604s ok 16 /socket/receive_bytes 604s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 604s ok 17 /socket/receive_bytes_from 604s # Start of ipv4_sync tests 604s ok 18 /socket/ipv4_sync/datagram 604s # Start of datagram tests 606s ok 19 /socket/ipv4_sync/datagram/timeouts 606s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 606s # End of datagram tests 606s # End of ipv4_sync tests 606s # Start of ipv6_sync tests 606s ok 20 /socket/ipv6_sync/datagram 606s # Start of datagram tests 607s ok 21 /socket/ipv6_sync/datagram/timeouts 607s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 607s # End of datagram tests 607s # End of ipv6_sync tests 607s # Start of reuse tests 607s ok 22 /socket/reuse/tcp 607s ok 23 /socket/reuse/udp 607s # End of reuse tests 607s # Start of get_available tests 607s ok 24 /socket/get_available/datagram 607s ok 25 /socket/get_available/stream 607s # End of get_available tests 607s # Start of credentials tests 607s # Supported on this OS: GCredentials:linux-ucred:pid=0 607s ok 26 /socket/credentials/tcp_client 607s # Supported on this OS: GCredentials:linux-ucred:pid=0 607s ok 27 /socket/credentials/tcp_server 607s # Supported on this OS: GCredentials:linux-ucred:pid=19293,uid=1000,gid=1000 607s ok 28 /socket/credentials/unix_socketpair 607s # End of credentials tests 607s # End of socket tests 607s PASS: glib/socket.test 607s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5716 607s autopkgtest [08:40:11]: test socket: -----------------------] 607s socket PASS 607s autopkgtest [08:40:11]: test socket: - - - - - - - - - - results - - - - - - - - - - 607s autopkgtest [08:40:11]: test testfilemonitor: preparing testbed 609s Reading package lists... 610s Building dependency tree... 610s Reading state information... 610s Starting pkgProblemResolver with broken count: 0 610s Starting 2 pkgProblemResolver with broken count: 0 610s Done 611s The following NEW packages will be installed: 611s autopkgtest-satdep 611s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 611s Need to get 0 B/772 B of archives. 611s After this operation, 0 B of additional disk space will be used. 611s Get:1 /tmp/autopkgtest.L0Waye/12-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 611s Selecting previously unselected package autopkgtest-satdep. 611s (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 ... 77014 files and directories currently installed.) 611s Preparing to unpack .../12-autopkgtest-satdep.deb ... 611s Unpacking autopkgtest-satdep (0) ... 611s Setting up autopkgtest-satdep (0) ... 613s (Reading database ... 77014 files and directories currently installed.) 613s Removing autopkgtest-satdep (0) ... 613s autopkgtest [08:40:17]: test testfilemonitor: [----------------------- 613s Running test: glib/testfilemonitor.test 613s TAP version 14 613s # random seed: R02S56aac8816810ed9fb2fe52787f59b484 613s 1..8 613s # Start of monitor tests 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 613s # Using temporary directory: /tmp/gio-test-testfilemonitor_MF43W2 613s # Using GFileMonitor GInotifyFileMonitor 615s ok 1 /monitor/atomic-replace 615s # slow test /monitor/atomic-replace executed in 2.00 secs 615s # Using temporary directory: /tmp/gio-test-testfilemonitor_7773W2 615s # Using GFileMonitor GInotifyFileMonitor 617s ok 2 /monitor/file-changes 617s # slow test /monitor/file-changes executed in 2.50 secs 617s # Using temporary directory: /tmp/gio-test-testfilemonitor_IQPFX2 617s # Using GFileMonitor GInotifyFileMonitor 618s Executing: glib/testfilemonitor.test 621s ok 3 /monitor/dir-monitor 621s # slow test /monitor/dir-monitor executed in 3.50 secs 621s # Using temporary directory: /tmp/gio-test-testfilemonitor_HMG5W2 621s # Using GFileMonitor GInotifyFileMonitor 623s Executing: glib/testfilemonitor.test 628s Executing: glib/testfilemonitor.test 633s Executing: glib/testfilemonitor.test 638s Executing: glib/testfilemonitor.test 643s Executing: glib/testfilemonitor.test 646s ok 4 /monitor/dir-not-existent 646s # slow test /monitor/dir-not-existent executed in 25.02 secs 646s # Using temporary directory: /tmp/gio-test-testfilemonitor_SB44W2 646s # Using GFileMonitor 0 GInotifyFileMonitor 646s # Using GFileMonitor 1 GInotifyFileMonitor 648s ok 5 /monitor/cross-dir-moves 648s # slow test /monitor/cross-dir-moves executed in 2.00 secs 648s # Using temporary directory: /tmp/gio-test-testfilemonitor_Q3V4W2 648s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 648s ok 6 /monitor/finalize-in-callback 648s # Using temporary directory: /tmp/gio-test-testfilemonitor_0ZAHX2 648s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 648s ok 7 /monitor/root 648s # Start of file tests 648s # Using temporary directory: /tmp/gio-test-testfilemonitor_E8AHX2 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 648s # Running with hard link tests 648s # Using GFileMonitor GInotifyFileMonitor 648s Executing: glib/testfilemonitor.test 652s # Event 0 at expected index 7 skipped because it is marked as optional 652s # Event 2 at expected index 11 skipped because it is marked as optional 652s ok 8 /monitor/file/hard-links 652s # slow test /monitor/file/hard-links executed in 3.50 secs 652s # End of file tests 652s # End of monitor tests 652s PASS: glib/testfilemonitor.test 652s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5956 652s autopkgtest [08:40:56]: test testfilemonitor: -----------------------] 652s testfilemonitor PASS 652s autopkgtest [08:40:56]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 652s autopkgtest [08:40:56]: test thread-pool-slow: preparing testbed 653s Reading package lists... 653s Building dependency tree... 653s Reading state information... 653s Starting pkgProblemResolver with broken count: 0 653s Starting 2 pkgProblemResolver with broken count: 0 653s Done 654s The following NEW packages will be installed: 654s autopkgtest-satdep 654s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 654s Need to get 0 B/772 B of archives. 654s After this operation, 0 B of additional disk space will be used. 654s Get:1 /tmp/autopkgtest.L0Waye/13-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 654s Selecting previously unselected package autopkgtest-satdep. 654s (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 ... 77014 files and directories currently installed.) 654s Preparing to unpack .../13-autopkgtest-satdep.deb ... 654s Unpacking autopkgtest-satdep (0) ... 654s Setting up autopkgtest-satdep (0) ... 656s (Reading database ... 77014 files and directories currently installed.) 656s Removing autopkgtest-satdep (0) ... 656s autopkgtest [08:41:00]: test thread-pool-slow: [----------------------- 656s Running test: glib/thread-pool-slow.test 656s TAP version 14 656s # random seed: R02S029e7f16d0347efef69c219b34a01564 656s 1..7 656s # Start of threadpool tests 656s ok 1 /threadpool/functions 657s ok 2 /threadpool/stop-unused 657s # slow test /threadpool/stop-unused executed in 0.51 secs 657s ok 3 /threadpool/pools 657s # [unsorted] ===> pushed new thread with id:7, number of threads:1, unprocessed:0 657s # [unsorted] ===> pushed new thread with id:5, number of threads:2, unprocessed:1 657s # [unsorted] ===> pushed new thread with id:35, number of threads:3, unprocessed:2 657s # [unsorted] ===> pushed new thread with id:74, number of threads:4, unprocessed:3 657s # [unsorted] ===> pushed new thread with id:57, number of threads:5, unprocessed:4 657s # [unsorted] ===> pushed new thread with id:36, number of threads:6, unprocessed:5 657s # [unsorted] ===> pushed new thread with id:23, number of threads:7, unprocessed:6 657s # [unsorted] ===> pushed new thread with id:63, number of threads:8, unprocessed:7 657s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:8 657s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:8 657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:9 657s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:8 657s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:9 657s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:10 657s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:11 657s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:12 657s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:13 657s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:14 657s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:15 657s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:16 657s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:17 657s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:18 657s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:19 657s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:20 657s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:21 657s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:22 657s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:23 657s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:24 657s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:25 657s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:25 657s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:26 657s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:27 657s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:28 657s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:29 657s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:29 657s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:30 657s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:30 657s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:30 657s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:30 657s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:30 657s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:31 657s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:32 657s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:33 657s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:34 657s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:35 657s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:36 657s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:37 657s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:38 657s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:39 657s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:40 657s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:41 657s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:42 657s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:43 657s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 657s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:45 657s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:46 657s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:47 657s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:48 657s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:49 657s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:50 657s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:51 657s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:52 657s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:53 657s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:54 657s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:55 657s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:56 657s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:57 657s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:58 657s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:59 657s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:60 657s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:61 657s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:62 657s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:63 657s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:64 657s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:65 657s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:66 657s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:67 657s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:68 657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:69 657s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:70 657s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:71 657s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:72 657s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:73 657s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:74 657s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:75 657s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:76 657s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:77 657s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:78 657s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:79 657s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:80 657s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:81 657s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:82 657s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:83 657s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:84 657s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:85 657s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:86 657s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:87 657s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:88 657s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:89 657s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:90 657s ok 4 /threadpool/no-sort 657s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:1 657s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:2 657s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:3 657s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:4 657s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:5 657s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:6 657s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:7 657s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:8 657s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:9 657s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:10 657s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:11 657s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:12 657s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:13 657s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:14 657s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:15 657s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:16 657s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:17 657s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:18 657s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:19 657s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:20 657s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:21 657s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:22 657s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:23 657s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:24 657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:25 657s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:26 657s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:27 657s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:28 657s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:29 657s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:30 657s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:31 657s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:32 657s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:33 657s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:34 657s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:35 657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:36 657s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:37 657s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:38 657s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:39 657s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:40 657s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:41 657s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:42 657s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:43 657s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:44 657s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:45 657s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:46 657s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:47 657s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:48 657s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:49 657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:50 657s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:51 657s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:52 657s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:53 657s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:54 657s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:55 657s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:56 657s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:57 657s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:58 657s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:59 657s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:60 657s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:61 657s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:62 657s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:63 657s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:64 657s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:65 657s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:66 657s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:67 657s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:68 657s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:69 657s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:70 657s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:71 657s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:72 657s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:73 657s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:74 657s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:75 657s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:76 657s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77 657s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:78 657s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:79 657s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:80 657s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:81 657s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:82 657s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:83 657s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:84 657s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:85 657s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:86 657s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:87 657s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:88 657s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:89 657s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:90 657s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:91 657s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:92 657s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:93 657s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:94 657s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:95 657s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:96 657s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:97 657s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:98 657s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:99 657s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:100 657s # Starting thread pool processing 657s ok 5 /threadpool/sort 657s ok 6 /threadpool/stop-unused-multiple 657s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 657s # Pool idle thread count: 0, unprocessed jobs: 44 658s # Pool idle thread count: 0, unprocessed jobs: 0 658s # Pool idle thread count: 0, unprocessed jobs: 0 658s # Pool idle thread count: 10, unprocessed jobs: 0 658s # Pool idle thread count: 10, unprocessed jobs: 0 659s # Pool idle thread count: 10, unprocessed jobs: 0 659s # Pool idle thread count: 10, unprocessed jobs: 0 659s # Pool idle thread count: 10, unprocessed jobs: 0 659s # Pool idle thread count: 10, unprocessed jobs: 0 660s # Pool idle thread count: 10, unprocessed jobs: 0 660s # Pool idle thread count: 10, unprocessed jobs: 0 660s # Pool idle thread count: 10, unprocessed jobs: 0 660s # Pool idle thread count: 10, unprocessed jobs: 0 661s # Pool idle thread count: 10, unprocessed jobs: 0 661s # Pool idle thread count: 10, unprocessed jobs: 0 661s Executing: glib/thread-pool-slow.test 661s # Pool idle thread count: 10, unprocessed jobs: 0 661s # Pool idle thread count: 10, unprocessed jobs: 0 662s # Pool idle thread count: 10, unprocessed jobs: 0 662s # Pool idle thread count: 10, unprocessed jobs: 0 662s # Pool idle thread count: 10, unprocessed jobs: 0 662s # Pool idle thread count: 10, unprocessed jobs: 0 663s # Pool idle thread count: 10, unprocessed jobs: 0 663s # Pool idle thread count: 10, unprocessed jobs: 0 663s # Pool idle thread count: 10, unprocessed jobs: 0 663s # Pool idle thread count: 10, unprocessed jobs: 0 664s # Pool idle thread count: 10, unprocessed jobs: 0 664s # Pool idle thread count: 10, unprocessed jobs: 0 664s # Pool idle thread count: 10, unprocessed jobs: 0 664s # Pool idle thread count: 10, unprocessed jobs: 0 665s # Pool idle thread count: 10, unprocessed jobs: 0 665s # Pool idle thread count: 10, unprocessed jobs: 0 665s # Pool idle thread count: 10, unprocessed jobs: 0 665s # Pool idle thread count: 10, unprocessed jobs: 0 666s # Pool idle thread count: 10, unprocessed jobs: 0 666s # Pool idle thread count: 10, unprocessed jobs: 0 666s Executing: glib/thread-pool-slow.test 666s # Pool idle thread count: 10, unprocessed jobs: 2 666s # Pool idle thread count: 8, unprocessed jobs: 0 666s # Pool idle thread count: 8, unprocessed jobs: 0 666s # Pool idle thread count: 8, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 2, unprocessed jobs: 0 668s # Pool idle thread count: 2, unprocessed jobs: 0 669s # Pool idle thread count: 2, unprocessed jobs: 0 669s # Pool idle thread count: 2, unprocessed jobs: 0 669s # Pool idle thread count: 2, unprocessed jobs: 0 669s # Pool idle thread count: 2, unprocessed jobs: 0 670s # Pool idle thread count: 2, unprocessed jobs: 0 670s # Pool idle thread count: 2, unprocessed jobs: 0 670s # Pool idle thread count: 2, unprocessed jobs: 0 670s # Pool idle thread count: 2, unprocessed jobs: 0 671s # Pool idle thread count: 2, unprocessed jobs: 0 671s # Pool idle thread count: 2, unprocessed jobs: 0 671s Executing: glib/thread-pool-slow.test 671s # Pool idle thread count: 2, unprocessed jobs: 0 671s # Pool idle thread count: 2, unprocessed jobs: 0 672s # Pool idle thread count: 2, unprocessed jobs: 0 672s # Pool idle thread count: 2, unprocessed jobs: 0 672s # Pool idle thread count: 2, unprocessed jobs: 0 672s # Pool idle thread count: 2, unprocessed jobs: 0 673s # Pool idle thread count: 2, unprocessed jobs: 0 673s # Pool idle thread count: 2, unprocessed jobs: 0 673s # Pool idle thread count: 2, unprocessed jobs: 0 673s # Pool idle thread count: 2, unprocessed jobs: 0 674s # Pool idle thread count: 2, unprocessed jobs: 0 674s # Pool idle thread count: 2, unprocessed jobs: 0 674s # Pool idle thread count: 2, unprocessed jobs: 0 674s # Pool idle thread count: 2, unprocessed jobs: 0 675s # Pool idle thread count: 2, unprocessed jobs: 0 675s # Pool idle thread count: 2, unprocessed jobs: 0 675s # Pool idle thread count: 2, unprocessed jobs: 0 675s # Pool idle thread count: 2, unprocessed jobs: 0 676s # Pool idle thread count: 2, unprocessed jobs: 0 676s # Pool idle thread count: 2, unprocessed jobs: 0 676s Executing: glib/thread-pool-slow.test 676s # Pool idle thread count: 2, unprocessed jobs: 0 676s # Pool idle thread count: 2, unprocessed jobs: 0 677s ok 7 /threadpool/idle-time 677s # slow test /threadpool/idle-time executed in 19.53 secs 677s # End of threadpool tests 677s PASS: glib/thread-pool-slow.test 677s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=4188 677s autopkgtest [08:41:21]: test thread-pool-slow: -----------------------] 677s thread-pool-slow PASS 677s autopkgtest [08:41:21]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 678s autopkgtest [08:41:22]: test threadtests: preparing testbed 678s Reading package lists... 679s Building dependency tree... 679s Reading state information... 679s Starting pkgProblemResolver with broken count: 0 679s Starting 2 pkgProblemResolver with broken count: 0 679s Done 679s The following NEW packages will be installed: 679s autopkgtest-satdep 679s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 679s Need to get 0 B/776 B of archives. 679s After this operation, 0 B of additional disk space will be used. 679s Get:1 /tmp/autopkgtest.L0Waye/14-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [776 B] 680s Selecting previously unselected package autopkgtest-satdep. 680s (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 ... 77014 files and directories currently installed.) 680s Preparing to unpack .../14-autopkgtest-satdep.deb ... 680s Unpacking autopkgtest-satdep (0) ... 680s Setting up autopkgtest-satdep (0) ... 682s (Reading database ... 77014 files and directories currently installed.) 682s Removing autopkgtest-satdep (0) ... 682s autopkgtest [08:41:26]: test threadtests: [----------------------- 682s Running test: glib/threadtests.test 682s TAP version 14 682s # random seed: R02S74ac796f1666db1ad4be0f6844d85651 682s 1..5 682s # Start of GObject tests 682s ok 1 /GObject/threaded-object-init 683s ok 2 /GObject/threaded-weak-ref 683s # slow test /GObject/threaded-weak-ref executed in 0.95 secs 683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 683s # /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 683s ok 3 /GObject/threaded-toggle-notify 683s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 683s # Start of threaded-weak-ref tests 683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 683s # /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. 683s ok 5 /GObject/threaded-weak-ref/on-finalization 683s # End of threaded-weak-ref tests 683s # End of GObject tests 683s PASS: glib/threadtests.test 683s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.6s; maxrss=3992 683s autopkgtest [08:41:27]: test threadtests: -----------------------] 684s threadtests PASS 684s autopkgtest [08:41:28]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 684s autopkgtest [08:41:28]: test timeout: preparing testbed 684s Reading package lists... 685s Building dependency tree... 685s Reading state information... 685s Starting pkgProblemResolver with broken count: 0 685s Starting 2 pkgProblemResolver with broken count: 0 685s Done 685s The following NEW packages will be installed: 685s autopkgtest-satdep 685s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 685s Need to get 0 B/772 B of archives. 685s After this operation, 0 B of additional disk space will be used. 685s Get:1 /tmp/autopkgtest.L0Waye/15-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 686s Selecting previously unselected package autopkgtest-satdep. 686s (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 ... 77014 files and directories currently installed.) 686s Preparing to unpack .../15-autopkgtest-satdep.deb ... 686s Unpacking autopkgtest-satdep (0) ... 686s Setting up autopkgtest-satdep (0) ... 688s (Reading database ... 77014 files and directories currently installed.) 688s Removing autopkgtest-satdep (0) ... 688s autopkgtest [08:41:32]: test timeout: [----------------------- 688s Running test: glib/timeout.test 688s TAP version 14 688s # random seed: R02S4eada44a9790752c79ab2947e6ee7629 688s 1..5 688s # Start of timeout tests 688s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 690s ok 1 /timeout/seconds 690s # slow test /timeout/seconds executed in 2.10 secs 692s ok 2 /timeout/seconds-once 692s # slow test /timeout/seconds-once executed in 2.10 secs 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 693s Executing: glib/timeout.test 694s ok 3 /timeout/weeks-overflow 694s # slow test /timeout/weeks-overflow executed in 2.10 secs 694s ok 4 /timeout/far-future-ready-time 698s Executing: glib/timeout.test 703s Executing: glib/timeout.test 704s ok 5 /timeout/rounding 704s # slow test /timeout/rounding executed in 10.11 secs 704s # End of timeout tests 704s PASS: glib/timeout.test 704s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3332 705s autopkgtest [08:41:49]: test timeout: -----------------------] 705s timeout PASS 705s autopkgtest [08:41:49]: test timeout: - - - - - - - - - - results - - - - - - - - - - 705s autopkgtest [08:41:49]: test timer: preparing testbed 705s Reading package lists... 706s Building dependency tree... 706s Reading state information... 706s Starting pkgProblemResolver with broken count: 0 706s Starting 2 pkgProblemResolver with broken count: 0 706s Done 707s The following NEW packages will be installed: 707s autopkgtest-satdep 707s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 707s Need to get 0 B/772 B of archives. 707s After this operation, 0 B of additional disk space will be used. 707s Get:1 /tmp/autopkgtest.L0Waye/16-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [772 B] 707s Selecting previously unselected package autopkgtest-satdep. 707s (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 ... 77014 files and directories currently installed.) 707s Preparing to unpack .../16-autopkgtest-satdep.deb ... 707s Unpacking autopkgtest-satdep (0) ... 707s Setting up autopkgtest-satdep (0) ... 709s (Reading database ... 77014 files and directories currently installed.) 709s Removing autopkgtest-satdep (0) ... 709s autopkgtest [08:41:53]: test timer: [----------------------- 709s Running test: glib/timer.test 709s TAP version 14 709s # random seed: R02S846969550502f1d8087d9f897076f5fc 709s 1..10 709s # Start of timer tests 709s ok 1 /timer/basic 709s ok 2 /timer/stop 709s ok 3 /timer/continue 709s ok 4 /timer/reset 709s ok 5 /timer/is_active 709s # End of timer tests 709s # Start of timeval tests 709s ok 6 /timeval/add 709s ok 7 /timeval/from-iso8601 709s ok 8 /timeval/to-iso8601 709s # Start of to-iso8601 tests 709s ok 9 /timeval/to-iso8601/overflow 709s # End of to-iso8601 tests 709s # End of timeval tests 709s # Start of usleep tests 709s ok 10 /usleep/with-zero-wait 709s # End of usleep tests 709s PASS: glib/timer.test 709s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3340 709s autopkgtest [08:41:53]: test timer: -----------------------] 710s timer PASS 710s autopkgtest [08:41:54]: test timer: - - - - - - - - - - results - - - - - - - - - - 710s autopkgtest [08:41:54]: test 1065022-futureproofing: preparing testbed 797s autopkgtest [08:43:21]: testbed dpkg architecture: amd64 797s autopkgtest [08:43:21]: testbed apt version: 2.9.8 797s autopkgtest [08:43:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 798s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 798s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 798s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 798s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 798s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 798s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 798s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 798s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 798s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 798s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 798s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 798s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 798s Fetched 2173 kB in 0s (7222 kB/s) 798s Reading package lists... 799s Reading package lists... 800s Building dependency tree... 800s Reading state information... 800s Calculating upgrade... 800s The following NEW packages will be installed: 800s python3.13-gdbm 800s The following packages will be upgraded: 800s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 800s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 800s Need to get 253 kB of archives. 800s After this operation, 147 kB of additional disk space will be used. 800s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 800s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 800s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 800s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 800s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 800s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 801s Fetched 253 kB in 0s (5580 kB/s) 801s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75541 files and directories currently installed.) 801s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 801s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 801s Setting up python3-minimal (3.12.7-1) ... 801s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75541 files and directories currently installed.) 801s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 801s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 801s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 801s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 801s Selecting previously unselected package python3.13-gdbm. 801s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 801s Unpacking python3.13-gdbm (3.13.0-2) ... 801s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 801s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 801s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 801s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 801s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 801s Setting up python3.13-gdbm (3.13.0-2) ... 801s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 801s Setting up python3 (3.12.7-1) ... 801s Setting up python3-gdbm:amd64 (3.12.7-1) ... 801s Processing triggers for man-db (2.12.1-3) ... 802s Processing triggers for libc-bin (2.40-1ubuntu3) ... 802s Reading package lists... 803s Building dependency tree... 803s Reading state information... 803s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 803s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 803s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 803s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 803s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 804s Reading package lists... 805s Reading package lists... 805s Building dependency tree... 805s Reading state information... 805s Calculating upgrade... 805s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 805s Reading package lists... 806s Building dependency tree... 806s Reading state information... 806s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 813s Reading package lists... 814s Building dependency tree... 814s Reading state information... 814s Starting pkgProblemResolver with broken count: 0 814s Starting 2 pkgProblemResolver with broken count: 0 814s Done 814s The following additional packages will be installed: 814s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 814s libdconf1 814s Suggested packages: 814s fakeroot 815s The following NEW packages will be installed: 815s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 815s gsettings-desktop-schemas libdconf1 815s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 815s Need to get 137 kB/138 kB of archives. 815s After this operation, 630 kB of additional disk space will be used. 815s Get:1 /tmp/autopkgtest.L0Waye/17-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [752 B] 815s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 815s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 815s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 815s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 815s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 815s Fetched 137 kB in 0s (3202 kB/s) 815s Selecting previously unselected package libdconf1:amd64. 815s (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 ... 75548 files and directories currently installed.) 815s Preparing to unpack .../0-libdconf1_0.40.0-4build2_amd64.deb ... 815s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 815s Selecting previously unselected package dconf-service. 815s Preparing to unpack .../1-dconf-service_0.40.0-4build2_amd64.deb ... 815s Unpacking dconf-service (0.40.0-4build2) ... 815s Selecting previously unselected package dconf-gsettings-backend:amd64. 815s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 815s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 815s Selecting previously unselected package dpkg-repack. 815s Preparing to unpack .../3-dpkg-repack_1.54_all.deb ... 815s Unpacking dpkg-repack (1.54) ... 815s Selecting previously unselected package gsettings-desktop-schemas. 815s Preparing to unpack .../4-gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 815s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 815s Selecting previously unselected package autopkgtest-satdep. 815s Preparing to unpack .../5-17-autopkgtest-satdep.deb ... 815s Unpacking autopkgtest-satdep (0) ... 815s Setting up dpkg-repack (1.54) ... 815s Setting up libdconf1:amd64 (0.40.0-4build2) ... 815s Setting up dconf-service (0.40.0-4build2) ... 815s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 815s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 815s Processing triggers for libc-bin (2.40-1ubuntu3) ... 815s Processing triggers for man-db (2.12.1-3) ... 815s Processing triggers for libglib2.0-0t64:amd64 (2.82.1-0ubuntu1) ... 815s Setting up autopkgtest-satdep (0) ... 817s (Reading database ... 75616 files and directories currently installed.) 817s Removing autopkgtest-satdep (0) ... 823s autopkgtest [08:43:47]: test 1065022-futureproofing: [----------------------- 823s + export DEBIAN_FRONTEND=noninteractive 823s + n=0 823s + failed=0 823s + binary_package=libglib2.0-0t64 823s + future_binary_package=libglib2.0-0xyz 823s + pwd 823s + srcdir=/tmp/autopkgtest.L0Waye/build.PWO/src 823s + mktemp -d 823s + tmpdir=/tmp/tmp.BFTw0IBxRX 823s + cd /tmp/tmp.BFTw0IBxRX 823s + [ -e /tmp/autopkgtest.L0Waye/build.PWO/src/debian/tests/manual/local-1065022.sources ] 823s + dpkg-query -W dpkg-repack 823s dpkg-repack 1.54 823s + dpkg-repack --generate libglib2.0-0t64 823s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 823s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.8IttMG for libglib2.0-0t64 823s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.8IttMG ." 823s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.8IttMG/DEBIAN/control 823s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.8IttMG/DEBIAN/control 823s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.8IttMG/DEBIAN/control 823s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.8IttMG/DEBIAN/control 823s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.8IttMG libglib2.0-0xyz.deb 823s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 825s + apt-get -y install ./libglib2.0-0xyz.deb 825s Reading package lists... 825s Building dependency tree... 825s Reading state information... 825s The following packages were automatically installed and are no longer required: 825s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 825s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 825s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 825s libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 825s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 825s python3-chardet python3-configobj python3-debconf python3-markdown-it 825s python3-mdurl python3-openssl python3-problem-report python3-pygments 825s python3-requests python3-rich python3-systemd python3-urllib3 825s Use 'sudo apt autoremove' to remove them. 825s The following additional packages will be installed: 825s xdg-user-dirs 825s Suggested packages: 825s low-memory-monitor 825s Recommended packages: 825s shared-mime-info 825s The following packages will be REMOVED: 825s apport apport-core-dump-handler bolt cloud-init fwupd 825s gir1.2-girepository-2.0 gir1.2-glib-2.0 libblockdev-crypto3 libblockdev-fs3 825s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 825s libblockdev-swap3 libblockdev-utils3 libblockdev3 libfwupd2 825s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libgusb2 libjcat1 825s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 825s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 825s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 825s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 825s shared-mime-info ubuntu-minimal udisks2 825s The following NEW packages will be installed: 825s libglib2.0-0xyz xdg-user-dirs 825s 0 upgraded, 2 newly installed, 44 to remove and 0 not upgraded. 825s Need to get 18.4 kB/1584 kB of archives. 825s After this operation, 30.8 MB disk space will be freed. 825s Get:1 /tmp/tmp.BFTw0IBxRX/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.82.1-0ubuntu1 [1566 kB] 825s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-1build1 [18.4 kB] 826s Fetched 18.4 kB in 0s (582 kB/s) 826s (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 ... 75616 files and directories currently installed.) 826s Removing bolt (0.9.8-1) ... 826s Removing cloud-init (24.4~3+really24.3.1-0ubuntu4) ... 827s Removing fwupd (1.9.26-2) ... 827s Removing networkd-dispatcher (2.2.4-1.1) ... 827s Removing udisks2 (2.10.1-11ubuntu1) ... 828s Removing libblockdev-crypto3:amd64 (3.2.1-1) ... 828s Removing libblockdev-fs3:amd64 (3.2.1-1) ... 828s Removing libblockdev-loop3:amd64 (3.2.1-1) ... 828s Removing libblockdev-mdraid3:amd64 (3.2.1-1) ... 828s Removing libblockdev-nvme3:amd64 (3.2.1-1) ... 828s Removing libblockdev-part3:amd64 (3.2.1-1) ... 828s Removing libblockdev-swap3:amd64 (3.2.1-1) ... 828s Removing libblockdev3:amd64 (3.2.1-1) ... 828s Removing libblockdev-utils3:amd64 (3.2.1-1) ... 828s Removing libfwupd2:amd64 (1.9.26-2) ... 828s Removing shared-mime-info (2.4-5) ... 828s Removing python3-dbus (1.3.2-5build3) ... 828s Removing ubuntu-minimal (1.543) ... 828s Removing netplan.io (1.1.1-1) ... 828s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 828s Removing netplan-generator (1.1.1-1) ... 828s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 828s Removing libxmlb2:amd64 (0.3.21-1) ... 829s Removing libvolume-key1:amd64 (0.3.12-8) ... 829s Removing libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 829s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 829s Removing libqmi-glib5:amd64 (1.35.2-0ubuntu2) ... 829s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 829s Removing libpolkit-agent-1-0:amd64 (124-2ubuntu1) ... 829s Removing libpolkit-gobject-1-0:amd64 (124-2ubuntu1) ... 829s Removing python3-netplan (1.1.1-1) ... 829s Removing libnetplan1:amd64 (1.1.1-1) ... 829s Removing libmm-glib0:amd64 (1.23.4-0ubuntu2) ... 829s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 829s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 829s Removing libjcat1:amd64 (0.2.0-2build3) ... 829s Removing libgusb2:amd64 (0.4.9-1) ... 829s Removing libjson-glib-1.0-0:amd64 (1.10.0+ds-2) ... 829s Removing libgudev-1.0-0:amd64 (1:238-5ubuntu1) ... 829s Removing apport (2.30.0-0ubuntu5) ... 830s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 830s Removing python3-gi (3.50.0-3) ... 830s Removing gir1.2-girepository-2.0:amd64 (1.80.1-4) ... 830s Removing gir1.2-glib-2.0:amd64 (2.82.1-0ubuntu1) ... 830s Removing libgirepository-1.0-1:amd64 (1.80.1-4) ... 830s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 830s libdconf1:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 830s Package libglib2.0-0 is not installed. 830s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 830s dconf-service depends on libglib2.0-0 (>= 2.79.0); however: 830s Package libglib2.0-0 is not installed. 830s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 830s dconf-gsettings-backend:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 830s Package libglib2.0-0 is not installed. 830s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 830s 830s Removing libglib2.0-0t64:amd64 (2.82.1-0ubuntu1) ... 831s Selecting previously unselected package libglib2.0-0xyz:amd64. 831s (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 ... 74620 files and directories currently installed.) 831s Preparing to unpack .../libglib2.0-0xyz.deb ... 831s Unpacking libglib2.0-0xyz:amd64 (2.82.1-0ubuntu1) ... 831s Selecting previously unselected package xdg-user-dirs. 831s Preparing to unpack .../xdg-user-dirs_0.18-1build1_amd64.deb ... 831s Unpacking xdg-user-dirs (0.18-1build1) ... 831s Setting up xdg-user-dirs (0.18-1build1) ... 831s Setting up libglib2.0-0xyz:amd64 (2.82.1-0ubuntu1) ... 831s Processing triggers for dbus (1.14.10-4ubuntu5) ... 831s Processing triggers for libc-bin (2.40-1ubuntu3) ... 831s Processing triggers for man-db (2.12.1-3) ... 832s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 832s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 832s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 832s + n=1 832s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 832s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 832s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 832s + n=2 832s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 832s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 832s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + n=3 832s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + n=4 832s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 832s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + n=5 832s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + n=6 832s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s + apt-get -y purge libglib2.0-0t64 832s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 832s Reading package lists... 832s Building dependency tree... 832s Reading state information... 833s The following packages were automatically installed and are no longer required: 833s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 833s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 833s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 833s libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 833s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 833s python3-chardet python3-configobj python3-debconf python3-markdown-it 833s python3-mdurl python3-openssl python3-problem-report python3-pygments 833s python3-requests python3-rich python3-systemd python3-urllib3 833s Use 'sudo apt autoremove' to remove them. 833s The following packages will be REMOVED: 833s libglib2.0-0t64* 833s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 833s After this operation, 0 B of additional disk space will be used. 833s (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 ... 74655 files and directories currently installed.) 833s Purging configuration files for libglib2.0-0t64:amd64 (2.82.1-0ubuntu1) ... 833s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 833s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 833s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 833s + n=7 833s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 833s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 833s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 833s + n=8 833s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 833s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 833s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + n=9 833s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + n=10 833s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 833s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + n=11 833s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + n=12 833s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s + apt-get -y purge libglib2.0-0xyz 833s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 833s Reading package lists... 833s Building dependency tree... 833s Reading state information... 834s The following packages were automatically installed and are no longer required: 834s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 834s libbytesize1 libcurl3t64-gnutls libflashrom1 libftdi1-2 libglib2.0-data 834s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 834s libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 834s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 834s python3-apport python3-certifi python3-chardet python3-configobj 834s python3-debconf python3-markdown-it python3-mdurl python3-openssl 834s python3-problem-report python3-pygments python3-requests python3-rich 834s python3-systemd python3-urllib3 xdg-user-dirs 834s Use 'sudo apt autoremove' to remove them. 834s The following packages will be REMOVED: 834s dconf-gsettings-backend* dconf-service* gsettings-desktop-schemas* 834s libdconf1* libglib2.0-0xyz* 834s 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 834s After this operation, 4959 kB disk space will be freed. 834s (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 ... 74655 files and directories currently installed.) 834s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 834s Removing dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 834s Removing dconf-service (0.40.0-4build2) ... 834s Removing libdconf1:amd64 (0.40.0-4build2) ... 834s Removing libglib2.0-0xyz:amd64 (2.82.1-0ubuntu1) ... 834s Processing triggers for man-db (2.12.1-3) ... 835s Processing triggers for libc-bin (2.40-1ubuntu3) ... 835s (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 ... 74572 files and directories currently installed.) 835s Purging configuration files for libglib2.0-0xyz:amd64 (2.82.1-0ubuntu1) ... 835s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 835s + n=13 835s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 835s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 835s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 835s + n=14 835s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 835s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 835s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 835s + n=15 835s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 835s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 835s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 835s + n=16 835s + test -e /usr/lib/*/gio/modules/giomodule.cache 835s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 835s + echo 1..16 835s + exit 0 835s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 835s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 835s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 835s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 835s 1..16 835s autopkgtest [08:43:59]: test 1065022-futureproofing: -----------------------] 836s autopkgtest [08:44:00]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 836s 1065022-futureproofing PASS 836s autopkgtest [08:44:00]: @@@@@@@@@@@@@@@@@@@@ summary 836s build PASS (superficial) 836s build-static PASS (superficial) 836s installed-tests PASS 836s closure-refcount PASS 836s debugcontroller PASS 836s gdbus-server-auth PASS 836s gdbus-threading PASS 836s gmenumodel PASS 836s mainloop PASS 836s memory-monitor-dbus PASS 836s socket PASS 836s testfilemonitor PASS 836s thread-pool-slow PASS 836s threadtests PASS 836s timeout PASS 836s timer PASS 836s 1065022-futureproofing PASS 849s nova [W] Skipping flock for amd64 849s Creating nova instance adt-plucky-amd64-glib2.0-20241113-083004-juju-7f2275-prod-proposed-migration-environment-15-d43a428a-a486-4e41-91c5-64628696cf07 from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)... 849s nova [W] Skipping flock for amd64 849s Creating nova instance adt-plucky-amd64-glib2.0-20241113-083004-juju-7f2275-prod-proposed-migration-environment-15-d43a428a-a486-4e41-91c5-64628696cf07 from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)... 849s nova [W] Skipping flock for amd64 849s Creating nova instance adt-plucky-amd64-glib2.0-20241113-083004-juju-7f2275-prod-proposed-migration-environment-15-d43a428a-a486-4e41-91c5-64628696cf07 from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)...